Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Re: cant update a detached instance

Pinaki Poddar

2008-08-18

Replies: Find Java Web Hosting

Author LoginPost Reply

> this object is detached or not and then do either a em.merge() or a
em.persist() correct?

Yes. Use the following, for example, to determine:
OpenJPAPersistence.cast(em).isDetached(pc);


--
Sent from the OpenJPA Users mailing list archive at Nabble.com.

©2008 gg3721.com - Jax Systems, LLC, U.S.A.