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

FromElement containment

Description

Make sure that FromElements are NEVER used directly in other parts of the query. All references to a FromElement in other parts of the query should always be "wrapped" in another type (FromElementReferenceExpression, e.g.).

Part of this is that I do not think its a good idea for all FromElement types (via org.hibernate.sqm.path.AttributePathPart) to be Expressions; that change has some bearing on the org.hibernate.query.parser.internal.hql.path.AttributePathResolver code and of course the SQM structure

Environment

None

Status

Assignee

Steve Ebersole

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