Package org.hibernate.id
package org.hibernate.id
This package contains internal implementation classes for the main API interfaces.
-
ClassDescriptionBasic implementation of the
PostInsertIdentifierGeneratorcontract.The base class for identifier generators that use a UUID algorithm.assigned
An IdentifierGenerator that returns the current identifier assigned to an instance.For composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).Contract for declaring how to locate the context for sub-value injection.Contract for performing the actual sub-value generation, usually injecting it into the determinedcontextAn IdentifierGenerator that supports "configuration".foreign
An Identifier generator that uses the value of the id property of an associated object
One mapping parameter is required: property.Generates string values using the SQL Server NEWID() function.Thrown by IdentifierGenerator implementation class when ID generation fails.The general contract between a class that generates unique identifiers and the Session.Identifiesgeneratorswhich potentially aggregate otherPersistentIdentifierGeneratorgenerators.Factory and helper methods forIdentifierGeneratorframework.A generator for use with ANSI-SQL IDENTITY columns used as the primary key.Delegate for dealing with IDENTITY columns where the dialect requires an additional command execution to retrieve the generated IDENTITY valueDelegate for dealing with IDENTITY columns using JDBC3 getGeneratedKeysDelegate for dealing with IDENTITY columns where the dialect supports returning the generated IDENTITY value directly from the insert statement.increment
An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.Defines a common api for dealing with data of integral data type.A hilo IdentifierGenerator that returns a Long, constructed using a hi/lo algorithm.An IdentifierGenerator that requires creation of database objects.A persister that may have an identity assigned by execution of a SQL INSERT.An optional contract forTypeorUserTypeimplementations to handle generated id values any way they see fit as opposed to being limited to the discrete set of numeric types handled byIdentifierGeneratorHelperA generator that selects the just inserted row to determine the identifier value assigned by the database.The delegate for the select generation strategy.sequence
Generates long values using an oracle-style sequence.seqhilo
An IdentifierGenerator that combines a hi/lo algorithm with an underlying oracle-style sequence that generates hi values.A generator which combines sequence generation with immediate retrieval through JDBC3getGeneratedKeys.An IdentifierGenerator that uses a database table to store the last generated value.hilo
An IdentifierGenerator that returns a Long, constructed using a hi/lo algorithm.A strategy for generating a variant 2UUIDvalue.uuid
A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits.