DistinctRootEntityResultTransformer and AddJoin not working properly below collections
Description
I have a query where I do 2 joins.
The first join is mapped with AddJoin to a collection in the top level objects, and this works.
The second join is mapped with AddJoin to a field in each member of that collection, but the field is not properly filled (trying to access it results in querying for the leaf object again).
Environment
None
Activity
Fernando Mato Mira
October 1, 2013 at 12:48 PM
I tried using {} syntax in the query without success (the Hibernate documentation is very poor in this respect).
I have a query where I do 2 joins.
The first join is mapped with AddJoin to a collection in the top level objects, and this works.
The second join is mapped with AddJoin to a field in each member of that collection, but the field is not properly filled (trying to access it results in querying for the leaf object again).