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.ImplicitDatabaseObjectNamingStrategy A naming strategy specifically for determining the implicit naming of tables and sequences relating to enhanced identifier-generators.InitialValueAwareOptimizer Marker interface for optimizer which wishes to know the user-specified initial value.Optimizer Performs optimization on an optimizable identifier generator.OptimizerDescriptor -
Class Summary Class Description AbstractOptimizer Common support forOptimizer
implementations.CustomOptimizerDescriptor 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.LegacyNamingStrategy Naming strategy which implements the behavior of older versions of Hibernate, for the most part.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.SingleNamingStrategy AnImplicitDatabaseObjectNamingStrategy
using a single structure for all implicit names: "hibernate_sequence" for sequences "hibernate_sequences" for tablesStandardNamingStrategy The standard implicit naming strategy for identifier sequences and tables.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.