Yes I can and I shall use this for any further bug reports I may do. I'm not sure though how this relates to the duplicate entity problem? I guess the pcVersionInit is a useful field for normal operation and should still be serialized?
I already verified that the problem that OpenJPA does not recognize an entity that is duplicated with serialization (and id and version set to null) as a new one is solved by using reflection to set all "pcVersionInit" fields in the inheritance hierarchy to false. (I had a mapped superclass which also had this field). Henno -----Oorspronkelijk bericht----- Van: Rick Curtis [mailto:[email protected]] Verzonden: maandag 21 februari 2011 16:14 Aan: [email protected] Onderwerp: Re: How to persist duplicate of an entity? Henno - Can you give 2.1.0 a try? Thanks, Rick On Mon, Feb 21, 2011 at 8:51 AM, Henno Vermeulen <[email protected]>wrote: > I am using version 2.0.0 > > (downloaded through Maven > ... > <dependency> > > <groupId>org.apache.openjpa</groupId> > > <artifactId>openjpa-all</artifactId> > <version>2.0.0</version> > </dependency> > ... > > Regards, > Henno > > > -----Oorspronkelijk bericht----- > Van: Rick Curtis [mailto:[email protected]] > Verzonden: maandag 21 februari 2011 15:49 > Aan: [email protected] > Onderwerp: Re: How to persist duplicate of an entity? > > Henno -- > > What version of openjpa are you using? > > Thanks, > Rick >
