this should work, double check with a debugger
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915008#3915008
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915008
--
It should be noted that fetching by id works; eg.: em.find(Organization.class,
5) retrieves the Organization that has the id 5 in the database, except the
fetched instance has it's id set to 0 ... What am I missing here?
View the original post :
http://www.jboss.com/index.html?module=bb&op=view