Top Description Interfaces Classes Enums
[default module]

Package org.hibernate.id


This package contains internal implementation classes for the main API interfaces.

Interface Summary

Modifier and TypeInterface and Description
public interface
BulkInsertionCapableIdentifierGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
Specialized contract for IdentifierGenerator implementations capable of being used in conjunction with HQL insert statements.
public interface
Configurable

Deprecated All methods are already defined in IdentifierGenerator.
An IdentifierGenerator that supports "configuration".
public interface
IdentifierGenerator

Deprecated as a consequence of Configurable being deprecated.
The general contract between a class that generates unique identifiers and the Session.
public interface
IdentifierGeneratorAggregator

Identifies generators which potentially aggregate other PersistentIdentifierGenerator generators.

public interface
IntegralDataTypeHolder

Defines a common api for dealing with data of integral data type.

public interface
PersistentIdentifierGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
An IdentifierGenerator that requires creation of database objects.
public interface
PostInsertIdentifierGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
public interface
PostInsertIdentityPersister

A persister that may have an identity assigned by execution of a SQL INSERT.

public interface
ResultSetIdentifierConsumer

An optional contract for org.hibernate.type.Type or org.hibernate.usertype.UserType implementations to handle generated id values any way they see fit as opposed to being limited to the discrete set of numeric types handled by IdentifierGeneratorHelper

public interface
UUIDGenerationStrategy

A strategy for generating a variant 2 UUID value.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractPostInsertGenerator

Deprecated as a consequence of PostInsertIdentifierGenerator and BulkInsertionCapableIdentifierGenerator being deprecated.
Basic implementation of the PostInsertIdentifierGenerator contract.
public abstract class
AbstractUUIDGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
The base class for identifier generators that use a UUID algorithm.
public class
Assigned

Deprecated as a consequence of IdentifierGenerator being deprecated.
assigned An IdentifierGenerator that returns the current identifier assigned to an instance.
public class
CompositeNestedGeneratedValueGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
For composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).
public class
public class
ForeignGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
foreign An Identifier generator that uses the value of the id property of an associated object One mapping parameter is required: property.
public class
GUIDGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
Generates string values using the SQL Server NEWID() function.
public class
IdentifierGenerationException

Thrown by IdentifierGenerator implementation class when ID generation fails.

public class
IdentifierGeneratorHelper

Factory and helper methods for IdentifierGenerator framework.

public class
IdentityGenerator

Deprecated as a consequence of AbstractPostInsertGenerator being deprecated.
A generator for use with ANSI-SQL IDENTITY columns used as the primary key.
public class
IncrementGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
increment An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup.
public class
MultipleHiLoPerTableGenerator

A hilo IdentifierGenerator that returns a Long, constructed using a hi/lo algorithm.
public class
SelectGenerator

Deprecated as a consequence of AbstractPostInsertGenerator being deprecated.
A generator that selects the just inserted row to determine the identifier value assigned by the database.
public class
SequenceGenerator

sequence Generates long values using an oracle-style sequence.
public class
SequenceHiLoGenerator

Deprecated See deprecation discussion on SequenceGenerator
seqhilo An IdentifierGenerator that combines a hi/lo algorithm with an underlying oracle-style sequence that generates hi values.
public class
SequenceIdentityGenerator

Deprecated See deprecation discussion on SequenceGenerator
A generator which combines sequence generation with immediate retrieval through JDBC3 getGeneratedKeys.
public class
UUIDGenerator

Deprecated as a consequence of IdentifierGenerator being deprecated.
An IdentifierGenerator which generates UUID values using a pluggable generation strategy.
public class
UUIDHexGenerator

Deprecated as a consequence of AbstractUUIDGenerator being deprecated.
uuid A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits.

Enum Summary

Modifier and TypeEnum and Description
public enum
EntityIdentifierNature

Describes the possible natures of an entity-defined identifier.

public enum
SequenceMismatchStrategy

Describes the strategy for handling the mismatch between a database sequence configuration and the one defined by the entity mapping.