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-03-01 Thread Patrick Linskey
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 (and no version field): http://svn.apache.org/repos

OpenJPA Transaction configuration

2007-02-28 Thread Matthieu Riou
Hi, I'm going back at the OpenJPA implementation for the Apache ODE project and am still having problems with the setup. Whan I try to persist a new object I get an exception Attempt to persist detached object. I guess the when I instantiate my object OpenJPA can't locate its transactional

RE: OpenJPA Transaction configuration

2007-02-28 Thread Pinaki Poddar
@incubator.apache.org Subject: OpenJPA Transaction configuration Hi, I'm going back at the OpenJPA implementation for the Apache ODE project and am still having problems with the setup. Whan I try to persist a new object I get an exception Attempt to persist detached object. I guess the when I instantiate my object

Re: OpenJPA Transaction configuration

2007-02-28 Thread Matthieu Riou
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 Subject: OpenJPA Transaction configuration Hi, I'm going

RE: OpenJPA Transaction configuration

2007-02-28 Thread Patrick Linskey
, 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 symptom of something wrong

Re: OpenJPA Transaction configuration

2007-02-28 Thread Matthieu Riou
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 symptom