openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henno Vermeulen <he...@huizemolenaar.nl>
Subject RE: How to persist duplicate of an entity?
Date Mon, 21 Feb 2011 15:25:45 GMT
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:curtisr7@gmail.com] 
Verzonden: maandag 21 februari 2011 16:14
Aan: users@openjpa.apache.org
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 <henno@huizemolenaar.nl>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:curtisr7@gmail.com]
> Verzonden: maandag 21 februari 2011 15:49
> Aan: users@openjpa.apache.org
> Onderwerp: Re: How to persist duplicate of an entity?
>
> Henno --
>
> What version of openjpa are you using?
>
> Thanks,
> Rick
>

Mime
View raw message