JPA joinList and treat behaviour

Description

Joining to a List an calling treat as don't work like expected.

It's not possible to access Attributes of treated Class:

I have patched org.hibernate.jpa.criteria.path.ListAttributeJoin to solve this:

ListAttributeJoin.java

Sample Code:

JpaTest.java

Entites.java

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Philip Mair

Fix versions

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure