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

Eager fetching in SQLQuery for collections of basic/embeddable type

Description

Currently you can't eager fetch an @ElementCollection (basic or embeddable type) in a SQLQuery.

In CustomLoader constructor, when parsing the CollectionFetchReturn, only EntityType is handled as a valid elementType.

Environment

None

Status

Assignee

Ivan Golovko

Reporter

Christian Bauer

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

4.3.0.Beta2

Priority

Minor