Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.
Interface Summary Interface Description AccessCallback DatabaseStructureEncapsulates definition of the underlying data structure backing a sequence-style generator. ImplicitDatabaseObjectNamingStrategyA naming strategy specifically for determining the implicit naming of tables and sequences relating to enhanced identifier-generators. InitialValueAwareOptimizerMarker interface for optimizer which wishes to know the user-specified initial value. OptimizerPerforms optimization on an optimizable identifier generator. OptimizerDescriptor
Class Summary Class Description AbstractOptimizerCommon support for
CustomOptimizerDescriptor HiLoOptimizerOptimizer which applies a 'hilo' algorithm in memory to achieve optimization. LegacyHiLoAlgorithmOptimizerSlight variation from
HiLoOptimizer, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.
LegacyNamingStrategyNaming strategy which implements the behavior of older versions of Hibernate, for the most part. NoopOptimizerAn optimizer that performs no optimization. OptimizerFactoryFactory for
PooledOptimizerwhich interprets the incoming database value as the lo value, rather than the hi value.
PooledOptimizerwhich 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.
PooledOptimizerOptimizer which uses a pool of values, storing the next low value of the range in the database. SequenceStructureDescribes a sequence. SequenceStyleGeneratorGenerates identifier values based on a sequence-style database structure. SingleNamingStrategy StandardNamingStrategyThe standard implicit naming strategy for identifier sequences and tables. TableGeneratorAn enhanced version of table-based id generation. TableStructureDescribes a table used to mimic sequence behavior
Enum Summary Enum Description StandardOptimizerDescriptorEnumeration of the standard Hibernate id generation optimizers.