@Target(TYPE)
@Retention(RUNTIME)
public @interface DatastoreIdentity
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
column |
Name of the column for the datastore identity
|
Column[] |
columns |
The column(s) making up the datastore identity.
|
java.lang.String |
customStrategy |
Custom strategy to use to generate the value for the identity.
|
Extension[] |
extensions |
Vendor extensions.
|
java.lang.String |
sequence |
Name of sequence to use when the strategy involves sequences
|
IdGeneratorStrategy |
strategy |
Strategy to use when generating datastore identities
|
IdGeneratorStrategy strategy
java.lang.String customStrategy
java.lang.String sequence
java.lang.String column
Column[] columns
Extension[] extensions