Skip to content

Commit

Permalink
spec UUID support (#319)
Browse files Browse the repository at this point in the history
see #151 and #152.
  • Loading branch information
gavinking committed Jan 17, 2022
1 parent a59022f commit f716bc1
Show file tree
Hide file tree
Showing 5 changed files with 2,380 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 f716bc1

Please sign in to comment.