Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration
Interface Summary Interface Description AccessCallbackContract for providing callback access to a
DatabaseStructure, typically from the
DatabaseStructureEncapsulates definition of the underlying data structure backing a sequence-style generator. InitialValueAwareOptimizerMarker interface for optimizer which wishes to know the user-specified initial value. OptimizerPerforms optimization on an optimizable identifier generator.
Class Summary Class Description AbstractOptimizerCommon support for optimizer implementations. 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.
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. 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.