Quering an entity contained in L1 cache with JOIN FETCH results in unexpected behavior
Description
Activity
Show:
Steve Ebersole May 8, 2013 at 2:24 PM
The test was actually based on a bad assumption wrt managing of bi-directional associations.

Christian Beikov May 1, 2013 at 9:28 PM
Also see PR: https://github.com/hibernate/hibernate-orm/pull/521

Christian Beikov April 26, 2013 at 7:59 PM
The new attachment contains a junit testcase.
When I have an Entity like "User" in the L1 cache and then do a query on that user with a JOIN FETCH on a relation of that object, the relation gets not fetched/hydrated.
The example will show the issue.