Uses of Interface
org.hibernate.id.enhanced.Optimizer
Packages that use Optimizer
Package
Description
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
-
Uses of Optimizer in org.hibernate.id
Methods in org.hibernate.id that return Optimizer -
Uses of Optimizer in org.hibernate.id.enhanced
Classes in org.hibernate.id.enhanced that implement OptimizerModifier and TypeClassDescriptionclass
Common support forOptimizer
implementations.class
Optimizer which applies a 'hilo' algorithm in memory to achieve optimization.class
Slight variation fromHiLoOptimizer
, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.final class
An optimizer that performs no optimization.class
Variation ofPooledOptimizer
which interprets the incoming database value as the lo value, rather than the hi value.class
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.class
Optimizer which uses a pool of values, storing the next low value of the range in the database.Methods in org.hibernate.id.enhanced that return OptimizerModifier and TypeMethodDescriptionstatic Optimizer
OptimizerFactory.buildOptimizer
(OptimizerDescriptor type, Class<?> returnClass, int incrementSize, long explicitInitialValue) Builds an optimizerSequenceStyleGenerator.getOptimizer()
Getter for property 'optimizer'.final Optimizer
TableGenerator.getOptimizer()
The optimizer being used by this generator.Methods in org.hibernate.id.enhanced that return types with arguments of type OptimizerModifier and TypeMethodDescriptionCustomOptimizerDescriptor.getOptimizerClass()
OptimizerDescriptor.getOptimizerClass()
StandardOptimizerDescriptor.getOptimizerClass()
Methods in org.hibernate.id.enhanced with parameters of type OptimizerModifier and TypeMethodDescriptiondefault void
Configures this structure with the given arguments.void
default void
Deprecated.void
Deprecated.
DatabaseStructure.configure(Optimizer)
instead.