openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Re: State Management, changed properties on detached object not saving
Date Wed, 08 Jul 2009 00:09:41 GMT
On Tue, Jul 7, 2009 at 4:45 PM, Michael Dick <>wrote:

> I'd use detach. DetachCopy IIRC detaches a new copy of the entity, but
> leaves the original entity in the PersistenceContext.

I started my previous email referencing the JavaDocs but found the code to
be different. I went with detach. There doesn't seem to be a detachCopy in
1.2.1. Not sure what version of JavaDocs I was looking at.

> Evict I'm not sure
> about,

I got that idea from a posting about Hibernate.

> I opened JIRA OPENJPA-1162 [1] on your behalf to add better javadoc.


Daryl Stultz
6 Degrees Software and Consulting, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message