Package org.hibernate.id.enhanced
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
-
Interface Summary Interface Description AccessCallback Contract for providing callback access to aDatabaseStructure
, typically from theOptimizer
.DatabaseStructure Encapsulates definition of the underlying data structure backing a sequence-style generator.InitialValueAwareOptimizer Marker interface for optimizer which wish to know the user-specified initial value.Optimizer Performs optimization on an optimizable identifier generator. -
Class Summary Class Description AbstractOptimizer Common support for optimizer implementations.HiLoOptimizer Optimizer which applies a 'hilo' algorithm in memory to achieve optimization.LegacyHiLoAlgorithmOptimizer Slight variation fromHiLoOptimizer
, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.NoopOptimizer An optimizer that performs no optimization.OptimizerFactory Factory forOptimizer
instances.PooledLoOptimizer Variation ofPooledOptimizer
which interprets the incoming database value as the lo value, rather than the hi value.PooledLoThreadLocalOptimizer Variation ofPooledOptimizer
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.PooledOptimizer Optimizer which uses a pool of values, storing the next low value of the range in the database.SequenceStructure Describes a sequence.SequenceStyleGenerator Generates identifier values based on a sequence-style database structure.TableGenerator An enhanced version of table-based id generation.TableStructure Describes a table used to mimic sequence behavior -
Enum Summary Enum Description StandardOptimizerDescriptor Enumeration of the standard Hibernate id generation optimizers.