Annotation Type Id
@Retention(CLASS) @Target(FIELD) public @interface IdMarks the ID property of an
@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.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
assignableAllows IDs of new entities to be assigned manually.