openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: Version of all children is incremented in OneToMany when merging parent entity
Date Wed, 03 Aug 2011 16:09:03 GMT
If you're explicitly locking the entities I can see where a version update
would be appropriate. If you're just merging changes in then it's not clear
why the versions would be updated.

If you could post a testcase that would probably be the most helpful.

-mike

On Wed, Aug 3, 2011 at 10:59 AM, Rick Curtis <curtisr7@gmail.com> wrote:

> Yes, sorry. I noticed it after I sent my response. I don't have a lot of
> experience with OpenJPA locking, but I don't think you want to use the
> pessimistic lock manager. I'd rather get back on the track of figuring out
> why we have the behavior that we do. If you get a ut going I'll take a peek
> at it.
>
>
> On Wed, Aug 3, 2011 at 10:23 AM, M. Walter <marc.walter@sbb.ch> wrote:
>
> > Hi Rick,
> >
> > did you read my second posting?
> >
> > --
> >
>
>
>
> --
> *Rick Curtis*
>

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