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

Multiple fetch joins cause error: Symbol left already exists #501

Open
azuo opened this issue Nov 6, 2023 · 0 comments
Open

Multiple fetch joins cause error: Symbol left already exists #501

azuo opened this issue Nov 6, 2023 · 0 comments

Comments

@azuo
Copy link

azuo commented Nov 6, 2023

According to JPA specification 4.4.5.3, "It is not permitted to specify an identification variable for the objects referenced by the right side of the FETCH JOIN clause". Specifying an alias for a FETCH JOIN can be used as an extension feature. However, the current JPQL parser expects an alias to always exist for each JOIN, so FETCH JOINs without alias will result in parsing errors.

test-jpa.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants