Top Description Interfaces Classes Enums
[default module]

Package org.hibernate.id.enhanced


Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration

Interface Summary

Modifier and TypeInterface and Description
public interface
AccessCallback

Contract for providing callback access to a DatabaseStructure, typically from the Optimizer.

public interface
DatabaseStructure

Encapsulates definition of the underlying data structure backing a sequence-style generator.

public interface
InitialValueAwareOptimizer

Marker interface for optimizer which wishes to know the user-specified initial value.

public interface
Optimizer

Performs optimization on an optimizable identifier generator.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractOptimizer

Common support for optimizer implementations.

public class
HiLoOptimizer

Optimizer which applies a 'hilo' algorithm in memory to achieve optimization.

public class
LegacyHiLoAlgorithmOptimizer

Slight variation from HiLoOptimizer, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.

public class
NoopOptimizer

An optimizer that performs no optimization.

public class
OptimizerFactory

Factory for Optimizer instances.

public class
PooledLoOptimizer

Variation of PooledOptimizer which interprets the incoming database value as the lo value, rather than the hi value.

public class
PooledLoThreadLocalOptimizer

Variation of PooledOptimizer which interprets the incoming database value as the lo value, rather than the hi value, as well as using thread local to cache the generation state.

public class
PooledOptimizer

Optimizer which uses a pool of values, storing the next low value of the range in the database.

public class
SequenceStructure

Describes a sequence.

public class
SequenceStyleGenerator

Deprecated as a consequence of PersistentIdentifierGenerator and BulkInsertionCapableIdentifierGenerator being deprecated.
Generates identifier values based on a sequence-style database structure.
public class
TableGenerator

Deprecated as a consequence of PersistentIdentifierGenerator being deprecated.
An enhanced version of table-based id generation.
public class
TableStructure

Describes a table used to mimic sequence behavior

Enum Summary

Modifier and TypeEnum and Description
public enum
StandardOptimizerDescriptor

Enumeration of the standard Hibernate id generation optimizers.