AFAIK all your fancy annotation stuff is useless when you explicitly code your 
query.

if you would just use em.find(Person.class, Id) your annotation setting should 
work

but if you hardcode your query, you must explicitly use a fetch statement like:

from Person p inner join fetch p.metadata

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141210#4141210

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141210
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to