public interface Sequencing
Purpose: Define interface to use sequencing.
Description: This interface accessed through Session.getSequencing() method. Used by EclipseLink internals to obtain sequencing values.
Responsibilities:
Modifier and Type | Field and Description |
---|---|
static int |
AFTER_INSERT |
static int |
BEFORE_INSERT |
static int |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNextValue(java.lang.Class cls)
INTERNAL:
Return the newly-generated sequencing value.
|
int |
whenShouldAcquireValueForAll()
INTERNAL:
Indicates when sequencing value should be acquired for all classes.
|
static final int BEFORE_INSERT
static final int UNDEFINED
static final int AFTER_INSERT
int whenShouldAcquireValueForAll()
java.lang.Object getNextValue(java.lang.Class cls)
cls
- Class for which the sequencing value is generated.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference