openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo <riccardo.nim...@s2000.tu-chemnitz.de>
Subject Re: Problem with Criteria-API and fetch (properties of related entities are NULL)
Date Wed, 06 Mar 2013 17:00:43 GMT
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.

Mime
View raw message