Skip to content

Commit

Permalink
spec UUID support
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Jan 14, 2022
1 parent 1ae01ae commit 6a3e09b
Show file tree
Hide file tree
Showing 5 changed files with 2,369 additions and 33 deletions.
9 changes: 8 additions & 1 deletion api/src/main/java/jakarta/persistence/GenerationType.java
Expand Up @@ -42,7 +42,14 @@ public enum GenerationType {
* Indicates that the persistence provider must assign
* primary keys for the entity using a database identity column.
*/
IDENTITY,
IDENTITY,

/**
* Indicates that the persistence provider must assign
* primary keys for the entity by generating an RFC 4122
* Universally Unique IDentifier.
*/
UUID,

/**
* Indicates that the persistence provider should pick an
Expand Down

0 comments on commit 6a3e09b

Please sign in to comment.