Re: OpenJPA & Transaction configuration

2007-03-01 Thread Matthieu Riou
February 28, 2007 9:51 PM > To: Patrick Linskey > Cc: open-jpa-dev@incubator.apache.org > Subject: Re: OpenJPA & Transaction configuration > > Here is a link to the source (and no version field): > > http://svn.apache.org/repos/asf/incubator/ode/trunk/dao-jpa/sr c/main

RE: OpenJPA & Transaction configuration

2007-03-01 Thread Patrick Linskey
iginal Message- > From: Matthieu Riou [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 28, 2007 9:51 PM > To: Patrick Linskey > Cc: open-jpa-dev@incubator.apache.org > Subject: Re: OpenJPA & Transaction configuration > > Here is a link to the source (a

Re: OpenJPA & Transaction configuration

2007-03-01 Thread Abe White
If you set the version field of an instance to a non-default value, OpenJPA assumes the instance was detached, or that you're actively trying to make it behave as a detached instance. ___ Notice: This email message, together

RE: OpenJPA & Transaction configuration

2007-02-28 Thread Pinaki Poddar
L PROTECTED] Sent: Wednesday, February 28, 2007 7:50 PM To: Pinaki Poddar Cc: open-jpa-dev@incubator.apache.org Subject: Re: OpenJPA & Transaction configuration Thanks! But shouldn't I worry about the fact that a brand new instance is detached? I could be wrong but it looks like it's more a

Re: OpenJPA & Transaction configuration

2007-02-28 Thread Matthieu Riou
e it. > -Original Message- > From: Matthieu Riou [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 28, 2007 7:50 PM > To: Pinaki Poddar > Cc: open-jpa-dev@incubator.apache.org > Subject: Re: OpenJPA & Transaction configuration > > Thanks! But shouldn't I worry

RE: OpenJPA & Transaction configuration

2007-02-28 Thread Patrick Linskey
e- > From: Matthieu Riou [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 28, 2007 7:50 PM > To: Pinaki Poddar > Cc: open-jpa-dev@incubator.apache.org > Subject: Re: OpenJPA & Transaction configuration > > Thanks! But shouldn't I worry about the fact that a br

Re: OpenJPA & Transaction configuration

2007-02-28 Thread Matthieu Riou
Thanks! But shouldn't I worry about the fact that a brand new instance is detached? I could be wrong but it looks like it's more a symptom of something wrong in my configuration, no? On 2/28/07, Pinaki Poddar <[EMAIL PROTECTED]> wrote: instead of _em.persist(ret); try _em.merge(ret); as re

RE: OpenJPA & Transaction configuration

2007-02-28 Thread Pinaki Poddar
instead of _em.persist(ret); try _em.merge(ret); as ret is detached instance rather than new. Pinaki Poddar BEA Systems 415.402.7317 -Original Message- From: Matthieu Riou [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 6:29 PM To: open-jpa-dev@incubator.apache.org