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
ImplicitDatabaseObjectNamingStrategy

A naming strategy specifically for determining the implicit naming of tables and sequences relating to enhanced identifier-generators.

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.

public interface

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractOptimizer

Common support for Optimizer implementations.

public class
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
LegacyNamingStrategy

Naming strategy which implements the behavior of older versions of Hibernate, for the most part.

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

Generates identifier values based on a sequence-style database structure.

public class
SingleNamingStrategy

An ImplicitDatabaseObjectNamingStrategy using a single structure for all implicit names:

  • hibernate_sequence for sequences
  • hibernate_sequences for tables
public class
StandardNamingStrategy

The standard implicit naming strategy for identifier sequences and tables.

public class
TableGenerator

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.