IdentifierGenerator for values generated by the database.
This interface is no longer the only way to handle database-generate identifiers.
Any OnExecutionGenerator with timing EventTypeSets#INSERT_ONLY may now
be used.
IdentifierGenerator
| Modifier and Type | Method and Description |
|---|---|
| public default void | configure(Type
The id property type descriptor type, Properties param values, keyed by parameter name params, ServiceRegistry Access to service that may be needed. serviceRegistry)Implements org. |
| public default EnumSet | Returns: EventTypeSets#INSERT_ONLYImplements org. |
| public default boolean | Returns: false, since we don't usually have a meaningful property value
for generated identifiersImplements org. ?
|
| configure | back to summary |
|---|---|
| public default void configure(Type type, Properties params, ServiceRegistry serviceRegistry) Implements org. Noop default implementation. May be overridden by subtypes.
| |
| getEventTypes | back to summary |
|---|---|
| public default 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 | |
| writePropertyValue | back to summary |
|---|---|
| public default boolean writePropertyValue() Implements org. Doc from org. Determines if the property values are written to JDBC as the argument of a JDBC
| |