I've solved my problem by replaceing 

em.persist(e);

with

e = (Employee) em.merge(e);

It works now.
-- 
View this message in context: 
http://www.nabble.com/How-to-PERSIST-object-without-loading-references--tp16472647p17803850.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to