Uses of Interface
org.hibernate.id.IdentifierGenerator
-
Packages that use IdentifierGenerator Package Description org.hibernate.engine.spi 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 IdentifierGenerator
SessionFactoryDelegatingImpl. getIdentifierGenerator(java.lang.String rootEntityName)
IdentifierGenerator
SessionFactoryImplementor. getIdentifierGenerator(java.lang.String rootEntityName)
Get the identifier generator for the hierarchy -
Uses of IdentifierGenerator in org.hibernate.id
Subinterfaces of IdentifierGenerator in org.hibernate.id Modifier and Type Interface Description interface
BulkInsertionCapableIdentifierGenerator
Specialized contract forIdentifierGenerator
implementations capable of being used in conjunction with HQL insert statements.interface
PersistentIdentifierGenerator
An IdentifierGenerator that requires creation of database objects.interface
PostInsertIdentifierGenerator
Classes in org.hibernate.id that implement IdentifierGenerator Modifier and Type Class Description class
AbstractPostInsertGenerator
Basic implementation of thePostInsertIdentifierGenerator
contract.class
AbstractUUIDGenerator
The base class for identifier generators that use a UUID algorithm.class
Assigned
assigned
An IdentifierGenerator that returns the current identifier assigned to an instance.class
CompositeNestedGeneratedValueGenerator
For composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).class
ForeignGenerator
foreign
An Identifier generator that uses the value of the id property of an associated object
One mapping parameter is required: property.class
GUIDGenerator
Generates string values using the SQL Server NEWID() function.class
IdentityGenerator
A generator for use with ANSI-SQL IDENTITY columns used as the primary key.class
IncrementGenerator
increment
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.class
MultipleHiLoPerTableGenerator
Deprecated.UseTableGenerator
instead.class
SelectGenerator
A generator that selects the just inserted row to determine the identifier value assigned by the database.class
SequenceGenerator
Deprecated.UseSequenceStyleGenerator
insteadclass
SequenceHiLoGenerator
Deprecated.See deprecation discussion onSequenceGenerator
class
SequenceIdentityGenerator
Deprecated.See deprecation discussion onSequenceGenerator
class
UUIDGenerator
class
UUIDHexGenerator
uuid
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 class
SequenceStyleGenerator
Generates identifier values based on a sequence-style database structure.class
TableGenerator
An 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 IdentifierGenerator
IdentifierGeneratorFactory. 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 IdentifierGenerator
Component. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)
IdentifierGenerator
KeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)
IdentifierGenerator
SimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, java.lang.String defaultCatalog, java.lang.String defaultSchema, RootClass rootClass)
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 IdentifierGenerator
AbstractCollectionPersister. getIdentifierGenerator()
IdentifierGenerator
CollectionPersister. 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 IdentifierGenerator
AbstractEntityPersister. getIdentifierGenerator()
IdentifierGenerator
EntityPersister. 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 IdentifierGenerator
IdentifierAttribute. getIdentifierGenerator()
IdentifierGenerator
IdentifierProperty. getIdentifierGenerator()
Methods in org.hibernate.tuple with parameters of type IdentifierGenerator Modifier and Type Method Description static IdentifierProperty
PropertyFactory. 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.
-