Package org.hibernate.annotations
Annotation Type UuidGenerator
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface UuidGenerator
Specifies that an entity identifier is generated as an IETF RFC 4122 UUID.- Since:
- 6.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description UuidGenerator.Style
style
Specifies which style of UUID generation should be used.
-
-
-
Element Detail
-
style
UuidGenerator.Style style
Specifies which style of UUID generation should be used.- Default:
- org.hibernate.annotations.UuidGenerator.Style.AUTO
-
-