Hi Don,Could you please be just a bit more specific about what you are trying to do and what error you encounter?
Thanks, Craig On Nov 7, 2006, at 2:50 PM, DonBrady wrote:
We are converting a TopLink Essentials application to OpenJPAUnder Toplink Essentials, we could replace a managed entity with anotherthat had the same identity (key) by doing a merge. When we try this in OpenJPA, we get the following error:An object of type "com.xxx.entity.entities.FeCmeCommittee" with oid "48"already exists in this context; another cannot be persisted.However, "48" is actually the identity or key, not the oid. The oid's are different. They key is the same and therefore it should be possible toreplace it via a merge. Or am I missing something? Thanks, Don --View this message in context: http://www.nabble.com/Replacing- Entities-while-Managed-tf2592059.html#a7229110Sent from the open-jpa-dev mailing list archive at Nabble.com.
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
