public enum GenerationType
- Object
- Enum<GenerationType>
- GenerationType
ImplementsComparable<GenerationType>
Identifier generation strategies for a single identifier field.
Enum constants
IDENTITY | Uses a database-generated integral identity. |
UUID | Assigns a generated UUID string. |
SEQUENCE | Uses a native PostgreSQL sequence, or the portable sequence table on other backends. |
TABLE | Allocates integral identifiers using the portable sequence table. |
Methods
public static GenerationType[] values() | |
public static GenerationType valueOf(String name) |
Inherited methods
Enum constant details
IDENTITY
IDENTITYUses a database-generated integral identity.
UUID
UUIDAssigns a generated UUID string.
SEQUENCE
SEQUENCEUses a native PostgreSQL sequence, or the portable sequence table on other backends.
TABLE
TABLEAllocates integral identifiers using the portable sequence table.
Method details
values
public static GenerationType[] values()valueOf
public static GenerationType valueOf(String name)