Package org.hibernate.id
-
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 Deprecated. All methods are already defined inIdentifierGenerator
.IdentifierGenerator The general contract between a class that generates unique identifiers and theSession
.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 PostInsertIdentityPersister A persister that may have an identity assigned by execution of a SQLINSERT
.ResultSetIdentifierConsumer An optional contract forType
orUserType
implementations to handle generated id values any way they see fit as opposed to being limited to the discrete set of numeric types handled byIdentifierGeneratorHelper
UUIDGenerationStrategy Deprecated. seeUUIDGenerator
-
Class Summary Class Description AbstractPostInsertGenerator Basic implementation of thePostInsertIdentifierGenerator
contract.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 A generator for use with ANSI-SQL IDENTITY columns used as the primary key.IdentityGenerator.BasicDelegate Delegate for dealing with IDENTITY columns where the dialect requires an additional command execution to retrieve the generated IDENTITY valueIdentityGenerator.InsertSelectDelegate Delegate for dealing with IDENTITY columns where the dialect supports returning the generated IDENTITY value directly from the insert statement.IncrementGenerator incrementSelectGenerator A generator that selects the just inserted row to determine the identifier value assigned by the database.SelectGenerator.SelectGeneratorDelegate The delegate for the select generation strategy.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.