public class AbstractPreGenerateIdGenerator.IdContext
extends java.lang.Object
This object increments identity value and holds it.
| Modifier and Type | Field and Description |
|---|---|
protected long |
allocated |
protected long |
initValue |
| Constructor and Description |
|---|
IdContext() |
| Modifier and Type | Method and Description |
|---|---|
long |
getNextValue(IdGenerationConfig config)
Returns the next identity value.
|
public long getNextValue(IdGenerationConfig config)
config - the configurationJdbcException - if the identity generation is failed