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 determinedcontext
Configurable AnIdentifierGenerator
that supports "configuration".IdentifierGenerator The general contract between a class that generates unique identifiers and the Session.IdentifierGeneratorAggregator Identifiesgenerators
which potentially aggregate otherPersistentIdentifierGenerator
generators.IntegralDataTypeHolder Defines a common api for dealing with data of integral data type.PersistentIdentifierGenerator An IdentifierGenerator that requires creation of database objects.PostInsertIdentifierGenerator PostInsertIdentityPersister A persister that may have an identity assigned by execution of a SQL INSERT.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 A strategy for generating a variant 2UUID
value. -
Class Summary Class Description AbstractPostInsertGenerator Basic implementation of thePostInsertIdentifierGenerator
contract.AbstractUUIDGenerator The base class for identifier generators that use a UUID algorithm.Assigned assigned
An IdentifierGenerator that returns the current identifier assigned to an instance.CompositeNestedGeneratedValueGenerator 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 foreign
An Identifier generator that uses the value of the id property of an associated object
One mapping parameter is required: property.GUIDGenerator Generates string values using the SQL Server NEWID() function.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 increment
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.MultipleHiLoPerTableGenerator Deprecated. UseTableGenerator
instead.SelectGenerator 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.SequenceGenerator Deprecated. UseSequenceStyleGenerator
insteadSequenceHiLoGenerator Deprecated. See deprecation discussion onSequenceGenerator
SequenceIdentityGenerator Deprecated. See deprecation discussion onSequenceGenerator
SequenceIdentityGenerator.Delegate SequenceIdentityGenerator.NoCommentsInsert UUIDGenerator UUIDHexGenerator uuid
A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. -
Enum Summary Enum Description EntityIdentifierNature Describes the possible natures of an entity-defined identifier. -
Exception Summary Exception Description IdentifierGenerationException Thrown by IdentifierGenerator implementation class when ID generation fails.