@Retention(value=CLASS)
@Target(value=FIELD)
public @interface Id
@Entity.
The property must be of type long (or Long in Kotlin) and have not-private visibility
(or a not-private getter and setter method).
ID properties are unique and indexed by default.
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
assignable
Allows IDs of new entities to be assigned manually.
|