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] IndexOutOfBoundsException when JPQL has embeddable or relational attributes without the optional entity identification variable - bugfix and unit tests #2278

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented Oct 9, 2024

Fixes #2188
Location and execution context of this fix is different, than other this fixes.
This one is located in org.eclipse.persistence.jpa.jpql.AbstractSemanticValidator#validateStateFieldPathExpression and executed by org.eclipse.persistence.internal.jpa.jpql.HermesParser#validate in org.eclipse.persistence.core module when project and descriptors are available. Reason behind this is, that code has to distinguish between possible Enum or mapping path, which is not available in JPQL parser context.

…ibutes without the optional entity identification variable - bugfix and unit tests

Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
@rfelcman rfelcman force-pushed the jpql_relational_variable_this branch from 1a7aca9 to 12d7c3f Compare October 21, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant