Top Description Interfaces Classes
[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
Configurable

An IdentifierGenerator that supports "configuration".

public interface
IdentifierGenerator

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

An IdentifierGenerator that requires creation of database objects.

public interface
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

Basic implementation of the PostInsertIdentifierGenerator contract.

public abstract class
AbstractUUIDGenerator

The base class for identifier generators that use a UUID algorithm.

public class
Assigned

assigned An IdentifierGenerator that returns the current identifier assigned to an instance.

public class
CompositeNestedGeneratedValueGenerator

For composite identifiers, defines a number of "nested" generations that need to happen to "fill" the identifier property(s).

public class
ForeignGenerator

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

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

A generator for use with ANSI-SQL IDENTITY columns used as the primary key.

public class
IncrementGenerator

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

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

seqhilo An IdentifierGenerator that combines a hi/lo algorithm with an underlying oracle-style sequence that generates hi values.

public class
SequenceIdentityGenerator

A generator which combines sequence generation with immediate retrieval through JDBC3 getGeneratedKeys.

public class
TableGenerator

An IdentifierGenerator that uses a database table to store the last generated value.

public class
TableHiLoGenerator

hilo An IdentifierGenerator that returns a Long, constructed using a hi/lo algorithm.

public class
UUIDGenerator

An IdentifierGenerator which generates UUID values using a pluggable generation strategy.

public class
UUIDHexGenerator

uuid A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits.