Annotation Type DatastoreId
-
@Target(TYPE) @Retention(RUNTIME) public @interface DatastoreId
Extension annotation allowing for use of datastore-identity with Jakarta Persistence.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
column
Name of the column to use for datastore identity.jakarta.persistence.Column[]
columns
Column definition(s) to use for the datastore identity surrogate.jakarta.persistence.GenerationType
generationType
Strategy for generating values for the datastore identity.String
generator
Name of the generator to use (if using generationType of TABLE or SEQUENCE).
-