Skip to content

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

@azuo

Description

@azuo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions