Annotation Type Id
Designates the primary-key field of an
@Entity. Exactly one field per
entity must carry @Id. The field type may be long, int, String, or
a Property wrapper of one of those.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhen true (the default) the underlying column is declaredINTEGER PRIMARY KEY AUTOINCREMENT.
-
Element Details
-
autoIncrement
boolean autoIncrementWhen true (the default) the underlying column is declaredINTEGER PRIMARY KEY AUTOINCREMENT. Set false when the application assigns its own keys (UUIDs, server-issued ids, ...).- Default:
true
-