OnExecutionGenerator which marks a property as generated in the
database with semantics given explicitly by a @Generated annotation.
Generated
| Modifier and Type | Field and Description |
|---|---|
| private final EnumSet | |
| private final String[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | GeneratedGeneration(GenerationTime event)
Deprecated
as a consequence of
GenerationTime being deprecated.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EnumSet | getEventTypes()
Implements org. |
| public String[] | getReferencedColumnValues(Dialect
The SQL dialect, allowing generation of an expression
in dialect-specific SQL. dialect)Implements org. |
| public boolean | referenceColumnsInSql(Dialect dialect)
Implements org. insert or update statement.
|
| public boolean | writePropertyValue()
Implements org. ?
|
| eventTypes | back to summary |
|---|---|
| private final EnumSet<EventType> eventTypes | |
| sql | back to summary |
|---|---|
| private final String[] sql | |
| writable | back to summary |
|---|---|
| private final boolean writable | |
| GeneratedGeneration | back to summary |
|---|---|
| public GeneratedGeneration(GenerationTime event)
Deprecated as a consequence of | |
| GeneratedGeneration | back to summary |
|---|---|
| public GeneratedGeneration(Generated annotation) | |
| getEventTypes | back to summary |
|---|---|
| public EnumSet Implements org. Doc from org. The event types for which this generator should be called to produce a new value.
Identifier generators must return | |
| getReferencedColumnValues | back to summary |
|---|---|
| public String[] getReferencedColumnValues(Dialect dialect) Implements org. Doc from org. A SQL expression indicating how to calculate the generated values when the mapped columns are included in the SQL statement. The SQL expressions might be:
| |
| referenceColumnsInSql | back to summary |
|---|---|
| public boolean referenceColumnsInSql(Dialect dialect) Implements org. Doc from org. Determines if the columns whose values are generated are included in the column list
of the SQL
| |
| writePropertyValue | back to summary |
|---|---|
| public boolean writePropertyValue() Implements org. Doc from org. Determines if the property values are written to JDBC as the argument of a JDBC
| |