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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...