-
Notifications
You must be signed in to change notification settings - Fork 176
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
IndexOutOfBoundsException when JPQL has embeddable or relational attributes without the optional entity identification variable #2188
Comments
I could recreate the issue. Below is the Business entity we have by referencing the entity present in Jakarta Data.
Here is the code where we executed the JPQL query:
This resulted in the following exception stack, which is the same as described in the issue:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JPQL queries with embeddable (or relation) attributes that omit the optional entity identification variable (for consistency with JDQL) get IndexOutOfBoundsException on EclipseLink.
Example query:
FROM Business WHERE location.address.city=?1 ORDER BY name
Here is the exception stack with
IndexOutOfBoundsException:
The text was updated successfully, but these errors were encountered: