Package org.hibernate.id.enhanced
package org.hibernate.id.enhanced
Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
-
ClassDescriptionCommon support for
Optimizer
implementations.Contract for providing callback access to aDatabaseStructure
, typically from theOptimizer
.Encapsulates definition of the underlying data structure backing a sequence-style generator.Optimizer which applies a 'hilo' algorithm in memory to achieve optimization.A naming strategy specifically for determining the implicit naming of tables and sequences relating to enhanced identifier-generators.Marker interface for optimizer which wishes to know the user-specified initial value.Slight variation fromHiLoOptimizer
, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.Naming strategy which implements the behavior of older versions of Hibernate, for the most part.An optimizer that performs no optimization.Performs optimization on an optimizable identifier generator.Factory forOptimizer
instances.Variation ofPooledOptimizer
which interprets the incoming database value as the lo value, rather than the hi value.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.Optimizer which uses a pool of values, storing the next low value of the range in the database.Describes a sequence.Generates identifier values based on a sequence-style database structure.AnImplicitDatabaseObjectNamingStrategy
using a single structure for all implicit names: "hibernate_sequence" for sequences "hibernate_sequences" for tablesThe standard implicit naming strategy for identifier sequences and tables.Enumeration of the standard Hibernate id generation optimizers.An enhanced version of table-based id generation.Describes a table used to mimic sequence behavior