Package | Description |
---|---|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptimizer
Common support for optimizer implementations.
|
class |
HiLoOptimizer
Optimizer which applies a 'hilo' algorithm in memory to achieve
optimization.
|
class |
LegacyHiLoAlgorithmOptimizer
Slight variation from
HiLoOptimizer , maintaining compatibility with the values generated by the
legacy Hibernate hilo based generators. |
class |
NoopOptimizer
An optimizer that performs no optimization.
|
class |
PooledLoOptimizer
Variation of
PooledOptimizer which interprets the incoming database value as the lo value, rather than
the hi value. |
class |
PooledLoThreadLocalOptimizer
Variation of
PooledOptimizer 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 |
PooledOptimizer
Optimizer which uses a pool of values, storing the next low value of the
range in the database.
|
Modifier and Type | Method and Description |
---|---|
static Optimizer |
OptimizerFactory.buildOptimizer(String type,
Class returnClass,
int incrementSize)
Deprecated.
|
static Optimizer |
OptimizerFactory.buildOptimizer(String type,
Class returnClass,
int incrementSize,
long explicitInitialValue)
Builds an optimizer
|
Optimizer |
TableGenerator.getOptimizer()
The optimizer being used by this generator.
|
Optimizer |
SequenceStyleGenerator.getOptimizer()
Getter for property 'optimizer'.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Optimizer> |
StandardOptimizerDescriptor.getOptimizerClass() |
Modifier and Type | Method and Description |
---|---|
void |
TableStructure.prepare(Optimizer optimizer) |
void |
SequenceStructure.prepare(Optimizer optimizer) |
void |
DatabaseStructure.prepare(Optimizer optimizer)
Prepare this structure for use.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.