Run this query in your database and see if you have any results.

2013/3/6 Riccardo <riccardo.nim...@s2000.tu-chemnitz.de>

> 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.
>



-- 
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------

Reply via email to