I have the following model:
em.find(Customer.class, id) generates following sql:
The code above works fine, the customer instance is found.
em.find(User.class, id) generates following sql (should return)
The code above does not work (instance of user not found) since Department join is an inner join. This was not the behavior of earlier versions 3.3.x.
See attached code for complete code and tests.