Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] JPA 3.1.0 new features implementation (UUID) #1418

Merged
merged 3 commits into from
Feb 10, 2022

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented Feb 2, 2022

This PR is implementation of enhancement request #1414 add into EclipseLink support for JPA 3.1.0 new features
jakartaee/persistence#152
jakartaee/persistence#319

  • @GeneratedValue(strategy = GenerationType.UUID)
    This new feature tries at first to get UUID value from the platform (DB) and in case, that platform doesn't support is UUID.randomUUID() called see org.eclipse.persistence.sequencing.UUIDSequence.

  • java.util.UUID as a new supported datatype
    Add support java.util.UUID as an entity field type or JPA query parameter.

Signed-off-by: Radek Felcman radek.felcman@oracle.com

- @GeneratedValue(strategy = GenerationType.UUID)
- java.util.UUID as a new supported datatype

Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
- @GeneratedValue(strategy = GenerationType.UUID)
- java.util.UUID as a new supported datatype

Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
Copy link
Member

@lukasj lukasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rfelcman rfelcman merged commit 0497ac6 into eclipse-ee4j:master Feb 10, 2022
@rfelcman rfelcman deleted the jpa310_changes_adoption branch February 10, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants