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
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
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
@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
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
, 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
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