Uses of Interface
org.hibernate.id.enhanced.OptimizerDescriptor
-
Packages that use OptimizerDescriptor Package Description org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration. -
-
Uses of OptimizerDescriptor in org.hibernate.id.enhanced
Classes in org.hibernate.id.enhanced that implement OptimizerDescriptor Modifier and Type Class Description class
CustomOptimizerDescriptor
class
StandardOptimizerDescriptor
Enumeration of the standard Hibernate id generation optimizers.Methods in org.hibernate.id.enhanced that return OptimizerDescriptor Modifier and Type Method Description protected OptimizerDescriptor
SequenceStyleGenerator. determineOptimizationStrategy(Properties params, int incrementSize)
Determine the optimizer to use.static OptimizerDescriptor
StandardOptimizerDescriptor. fromExternalName(String externalName)
Interpret the incoming external name into the appropriate enum valueMethods in org.hibernate.id.enhanced with parameters of type OptimizerDescriptor Modifier and Type Method Description static Optimizer
OptimizerFactory. buildOptimizer(OptimizerDescriptor type, Class<?> returnClass, int incrementSize, long explicitInitialValue)
Builds an optimizerprotected int
SequenceStyleGenerator. determineAdjustedIncrementSize(OptimizerDescriptor optimizationStrategy, int incrementSize)
In certain cases we need to adjust the increment size based on the selected optimizer.
-