We're updating the issue view to help you get more done. 

Normalize duplicate implicit joins

Description

An implicit join path that occurs multiple times should many times be normalized to the same physical join:

1 select a.place.stuff, a.place.thing from Entity a

really should be normalized as:

1 select p.stuff, p.thing from Entity a inner join a.place p

This is very dependent upon where the implicit joins occur. Also be aware that this is a strict JPQL compliance concern. JPA does not allow the nested implicit paths.

Environment

None

Status

Assignee

Unassigned

Reporter

Steve Ebersole

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major