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 8c6bef1 commit f821d0a
Show file tree
Hide file tree
Showing 4 changed files with 2,329 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/persistence/GenerationType.java
Expand Up @@ -46,7 +46,7 @@ public enum GenerationType {

/**
* Indicates that the persistence provider must assign
* primary keys for the entity by generating a RFC 4122
* primary keys for the entity by generating an RFC 4122
* Universally Unique IDentifier.
*/
UUID,
Expand Down
3 changes: 1 addition & 2 deletions api/src/main/resources/jakarta/persistence/orm_3_0.xsd
Expand Up @@ -1057,15 +1057,14 @@
<xsd:annotation>
<xsd:documentation>

public enum GenerationType { TABLE, SEQUENCE, IDENTITY, UUID, AUTO };
public enum GenerationType { TABLE, SEQUENCE, IDENTITY, AUTO };

</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
<xsd:enumeration value="TABLE"/>
<xsd:enumeration value="SEQUENCE"/>
<xsd:enumeration value="IDENTITY"/>
<xsd:enumeration value="UUID"/>
<xsd:enumeration value="AUTO"/>
</xsd:restriction>
</xsd:simpleType>
Expand Down

0 comments on commit f821d0a

Please sign in to comment.