Package org.hibernate.id
This package contains the built-in id generators, all of which
implement
IdentifierGenerator
or
PostInsertIdentifierGenerator
.- See Also:
org.hibernate.generator
-
Interface Summary Interface Description BulkInsertionCapableIdentifierGenerator Specialized contract forIdentifierGenerator
implementations capable of being used in conjunction with HQL insert statements.CompositeNestedGeneratedValueGenerator.GenerationContextLocator Contract for declaring how to locate the context for sub-value injection.CompositeNestedGeneratedValueGenerator.GenerationPlan Contract for performing the actual sub-value generation, usually injecting it into the determined contextConfigurable AnIdentifierGenerator
that supports "configuration".IdentifierGenerator A classic extension point from the very earliest days of Hibernate, this interface is no longer the only way to generate identifiers.IdentifierGeneratorAggregator Identifies generators which potentially aggregate otherPersistentIdentifierGenerator
generators.IntegralDataTypeHolder Defines a common api for dealing with data of integral data type.OptimizableGenerator Commonality between sequence-based and table-based generatorsPersistentIdentifierGenerator AnIdentifierGenerator
that requires creation of database objects.PostInsertIdentifierGenerator The counterpart toIdentifierGenerator
for values generated by the database.PostInsertIdentityPersister A persister that may have an identity assigned by execution of a SQLINSERT
.ResultSetIdentifierConsumer Deprecated. this interface is unnecessary and no longer usedUUIDGenerationStrategy Deprecated. seeUUIDGenerator
-
Class Summary Class Description AbstractUUIDGenerator The base class for identifier generators that use a UUID algorithm.Assigned assignedCompositeNestedGeneratedValueGenerator For composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).ExportableColumn ExportableColumn.ColumnIterator ExportableColumn.ValueImpl ForeignGenerator foreignGUIDGenerator Deprecated. useUuidGenerator
IdentifierGeneratorHelper Factory and helper methods forIdentifierGenerator
framework.IdentifierGeneratorHelper.BasicHolder IdentifierGeneratorHelper.BigDecimalHolder IdentifierGeneratorHelper.BigIntegerHolder IdentityGenerator AnOnExecutionGenerator
that handlesIDENTITY
/"autoincrement" columns on those databases which support them.IncrementGenerator incrementSelectGenerator A generator thatselect
s the just-insert
ed row to determine the column value assigned by the database.UUIDGenerator Deprecated. useUuidGenerator
andUuidGenerator
insteadUUIDHexGenerator uuid -
Enum Summary Enum Description EntityIdentifierNature Describes the possible natures of an entity-defined identifier.SequenceMismatchStrategy Describes the strategy for handling the mismatch between a database sequence configuration and the one defined by the entity mapping. -
Exception Summary Exception Description IdentifierGenerationException Thrown byIdentifierGenerator
implementation class when ID generation fails.