The SQL looks fine:

SELECT
   t1.Id, t1.Avatar, t1.Name, t1.Profile, t0.Slots, t0.Visibility 
FROM
   Inventories t0 LEFT OUTER JOIN Users t1 ON t0.Owner = t1.Id 
WHERE
   t0.Owner = ?

All the properties annotated with @Basic in the classes User and Inventory
are part of the SELECT-clause.



--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Problem-with-Criteria-API-and-fetch-properties-of-related-entities-are-NULL-tp7582995p7583030.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to