TableHiLoGenerator
| Modifier and Type | Field and Description |
|---|---|
| private OptimizerFactory. | |
| public static final String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(Type type, Properties
param values, keyed by parameter name params, Dialect d)Overrides org. Implements org. |
| public synchronized Serializable | generate(final SessionImplementor session, Object
the entity or toplevel collection for which the id is being generated obj)Overrides org. Implements org. |
| pack-priv OptimizerFactory. |
| hiloOptimizer | back to summary |
|---|---|
| private OptimizerFactory. | |
| MAX_LO | back to summary |
|---|---|
| public static final String MAX_LO | |
| maxLo | back to summary |
|---|---|
| private int maxLo | |
| SequenceHiLoGenerator | back to summary |
|---|---|
| public SequenceHiLoGenerator() | |
| configure | back to summary |
|---|---|
| public void configure(Type type, Properties params, Dialect d) throws MappingException Overrides org. Implements org. Doc from org. Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
| |
| generate | back to summary |
|---|---|
| public synchronized Serializable generate(final SessionImplementor session, Object obj) Overrides org. Implements org. Doc from org. Generate a new identifier.
| |
| getHiloOptimizer | back to summary |
|---|---|
| pack-priv OptimizerFactory. For testing/assertion purposes
| |