Uses of Interface
org.hibernate.id.IdentifierGenerator
-
Packages that use IdentifierGenerator Package Description org.hibernate.engine.spi org.hibernate.envers.enhanced org.hibernate.id org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.id.factory org.hibernate.mapping org.hibernate.persister.collection org.hibernate.persister.entity org.hibernate.tuple -
-
Uses of IdentifierGenerator in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorSessionFactoryDelegatingImpl. getIdentifierGenerator(java.lang.String rootEntityName)IdentifierGeneratorSessionFactoryImplementor. getIdentifierGenerator(java.lang.String rootEntityName)Get the identifier generator for the hierarchy -
Uses of IdentifierGenerator in org.hibernate.envers.enhanced
Classes in org.hibernate.envers.enhanced that implement IdentifierGenerator Modifier and Type Class Description classOrderedSequenceGeneratorRevision number generator has to produce values in ascending order (gaps may occur). -
Uses of IdentifierGenerator in org.hibernate.id
Subinterfaces of IdentifierGenerator in org.hibernate.id Modifier and Type Interface Description interfaceBulkInsertionCapableIdentifierGeneratorSpecialized contract forIdentifierGeneratorimplementations capable of being used in conjunction with HQL insert statements.interfacePersistentIdentifierGeneratorAn IdentifierGenerator that requires creation of database objects.interfacePostInsertIdentifierGeneratorClasses in org.hibernate.id that implement IdentifierGenerator Modifier and Type Class Description classAbstractPostInsertGeneratorBasic implementation of thePostInsertIdentifierGeneratorcontract.classAbstractUUIDGeneratorThe base class for identifier generators that use a UUID algorithm.classAssignedassigned
An IdentifierGenerator that returns the current identifier assigned to an instance.classCompositeNestedGeneratedValueGeneratorFor composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).classForeignGeneratorforeign
An Identifier generator that uses the value of the id property of an associated object
One mapping parameter is required: property.classGUIDGeneratorGenerates string values using the SQL Server NEWID() function.classIdentityGeneratorA generator for use with ANSI-SQL IDENTITY columns used as the primary key.classIncrementGeneratorincrement
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.classMultipleHiLoPerTableGeneratorDeprecated.UseTableGeneratorinstead.classSelectGeneratorA generator that selects the just inserted row to determine the identifier value assigned by the database.classSequenceGeneratorDeprecated.UseSequenceStyleGeneratorinsteadclassSequenceHiLoGeneratorDeprecated.See deprecation discussion onSequenceGeneratorclassSequenceIdentityGeneratorDeprecated.See deprecation discussion onSequenceGeneratorclassUUIDGeneratorclassUUIDHexGeneratoruuid
A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. -
Uses of IdentifierGenerator in org.hibernate.id.enhanced
Classes in org.hibernate.id.enhanced that implement IdentifierGenerator Modifier and Type Class Description classSequenceStyleGeneratorGenerates identifier values based on a sequence-style database structure.classTableGeneratorAn enhanced version of table-based id generation. -
Uses of IdentifierGenerator in org.hibernate.id.factory
Methods in org.hibernate.id.factory that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorIdentifierGeneratorFactory. createIdentifierGenerator(java.lang.String strategy, Type type, java.util.Properties config)Given a strategy, retrieve the appropriate identifier generator instance. -
Uses of IdentifierGenerator in org.hibernate.mapping
Methods in org.hibernate.mapping that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorComponent. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)Deprecated.IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, RootClass rootClass)IdentifierGeneratorSimpleValue. getIdentifierGenerator()Returns the cached identifierGenerator.Constructors in org.hibernate.mapping with parameters of type IdentifierGenerator Constructor Description ValueGenerationPlan(IdentifierGenerator subGenerator, Setter injector) -
Uses of IdentifierGenerator in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorAbstractCollectionPersister. getIdentifierGenerator()IdentifierGeneratorCollectionPersister. getIdentifierGenerator()Get the surrogate key generation strategy (optional operation) -
Uses of IdentifierGenerator in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorAbstractEntityPersister. getIdentifierGenerator()IdentifierGeneratorEntityPersister. getIdentifierGenerator()Determine which identifier generation strategy is used for this entity. -
Uses of IdentifierGenerator in org.hibernate.tuple
Methods in org.hibernate.tuple that return IdentifierGenerator Modifier and Type Method Description IdentifierGeneratorIdentifierAttribute. getIdentifierGenerator()IdentifierGeneratorIdentifierProperty. getIdentifierGenerator()Methods in org.hibernate.tuple with parameters of type IdentifierGenerator Modifier and Type Method Description static IdentifierPropertyPropertyFactory. buildIdentifierAttribute(PersistentClass mappedEntity, IdentifierGenerator generator)Generates the attribute representation of the identifier for a given entity mapping.Constructors in org.hibernate.tuple with parameters of type IdentifierGenerator Constructor Description IdentifierProperty(java.lang.String name, Type type, boolean embedded, IdentifierValue unsavedValue, IdentifierGenerator identifierGenerator)Construct a non-virtual identifier property.IdentifierProperty(Type type, boolean embedded, boolean hasIdentifierMapper, IdentifierValue unsavedValue, IdentifierGenerator identifierGenerator)Construct a virtual IdentifierProperty.
-