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 TypeClassDescriptionclassCommon support forOptimizerimplementations.classOptimizer which applies a 'hilo' algorithm in memory to achieve optimization.classSlight variation fromHiLoOptimizer, maintaining compatibility with the values generated by the legacy Hibernate hilo based generators.final classAn optimizer that performs no optimization.classOptimizer which uses a pool of values, backed by a logical sequence.classVariation ofPooledOptimizerwhich 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.classOptimizer which uses a pool of values, backed by a logical sequence.Methods in org.hibernate.id.enhanced that return OptimizerModifier and TypeMethodDescriptionstatic OptimizerOptimizerFactory.buildOptimizer(OptimizerDescriptor type, Class<?> returnClass, int incrementSize, long explicitInitialValue) Builds an optimizerSequenceStyleGenerator.getOptimizer()Getter for property 'optimizer'.final OptimizerTableGenerator.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 voidConfigures this structure with the given arguments.voiddefault voidDeprecated.voidDeprecated.default voidDatabaseStructure.registerExtraExportables(Table table, Optimizer optimizer) Register additional database objects which need to be aware of the table for which this structure is used to generate values.voidSequenceStructure.registerExtraExportables(Table table, Optimizer optimizer) voidTableStructure.registerExtraExportables(Table table, Optimizer optimizer)
DatabaseStructure.configure(Optimizer)instead.