Generated and CurrentTimestamp annotations.
Generated, CurrentTimestamp
| Modifier and Type | Field and Description |
|---|---|
| public static final GenerationTime | ALWAYS
Indicates that a new value is generated on insert and on update. |
| public static final GenerationTime | INSERT
Indicates that a new value is generated on insert. |
| public static final GenerationTime | NEVER
Indicates that a value is never generated. |
| public static final GenerationTime | UPDATE
Indicates that a new value is generated on update. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public EnumSet | |
| public GenerationTiming | Returns: the equivalent instance ofGenerationTiming
Deprecated
for removal. Needed for backwards compatibility until the deprecated, legacy
generation stuff can be removed
|
| public static GenerationTime | |
| public static GenerationTime[] |
| ALWAYS | back to summary |
|---|---|
| public static final GenerationTime ALWAYS
Deprecated as a consequence of Indicates that a new value is generated on insert and on update. | |
| INSERT | back to summary |
|---|---|
| public static final GenerationTime INSERT
Deprecated as a consequence of Indicates that a new value is generated on insert. | |
| NEVER | back to summary |
|---|---|
| public static final GenerationTime NEVER
Deprecated as a consequence of Indicates that a value is never generated. | |
| UPDATE | back to summary |
|---|---|
| public static final GenerationTime UPDATE
Deprecated as a consequence of Indicates that a new value is generated on update.
| |
| GenerationTime | back to summary |
|---|---|
| private GenerationTime() | |
| eventTypes | back to summary |
|---|---|
| public EnumSet | |
| getEquivalent | back to summary |
|---|---|
| public GenerationTiming getEquivalent()
Deprecated for removal. Needed for backwards compatibility until the deprecated, legacy generation stuff can be removed
| |
| valueOf | back to summary |
|---|---|
| public static GenerationTime valueOf(String name)
Deprecated as a consequence of | |
| values | back to summary |
|---|---|
| public static GenerationTime[] values()
Deprecated as a consequence of | |