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] Jakarta Persistence 3.2 new feature - JPQL UNION, INTERSECT, EXCEPT, CAST #1937

Merged

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented Sep 1, 2023

This change doesn't create anything new as specified operators/functions were already specified as a part of EclipseLink JPQL extensions from 2.4 version.
There is refactoring/movement of affected code related with org.eclipse.persistence.jpa.jpql.parser.CastExpression, org.eclipse.persistence.jpa.jpql.parser.DatabaseType, org.eclipse.persistence.jpa.jpql.parser.UnionClause from EclipseLink... classes to default JPQL classes.
Due this movement all specified operators/functions are available from Jakarta Persistence/JPQL Grammar 3.2.

EclipseLink issue is described at #1885 and Jakarta Persistence specification request at the jakartaee/persistence#395 (cast) and jakartaee/persistence#398 (union, intersect, and except)

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 force-pushed the jpql_32_union_intersect_except branch from a25140e to 9a922f6 Compare September 11, 2023 13:28
@rfelcman rfelcman merged commit f7070a1 into eclipse-ee4j:master Sep 14, 2023
6 of 7 checks passed
@rfelcman rfelcman deleted the jpql_32_union_intersect_except branch September 14, 2023 11:09
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