Have you checked with Spring/JUnit they support rollback during tests
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of David Van Couvering
Sent: April 20, 2007 1:46 PM
To: open-jpa-dev@incubator.apache.org
Subject: Re: Help requested around rollback
I'll probably have to write an abstraction on top of JPA with a
different "driver" for each implementation (OpenJPA, TopLink) so I can
(a) deal with these issues and (b) use extensions without tying
application code to a particular vendor.
David
Patrick Linskey wrote:
Yeah, it's not ideal, a
sday, April 19, 2007 6:18 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: Re: Help requested around rollback semantics
>
> That's what I thought: broken and detached. Might as well
> just throw them out. Not to be blunt, but this just sucks.
> It's as if
That's what I thought: broken and detached. Might as well just throw
them out. Not to be blunt, but this just sucks. It's as if JPA
believes nobody will ever really experience a rollback...
Bleagh!
David
Patrick Linskey wrote:
In generic JPA, the only way to deal with the situation you
de
Message-
From: Patrick Linskey [mailto:[EMAIL PROTECTED]
Sent: April 19, 2007 8:57 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: Help requested around rollback semantics
> In generic JPA, the only way to deal with the situation you describe
> would be to manuall
and have received this message in error, please immediately return this
by email and then delete it.
> -Original Message-
> From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On
> Behalf Of Marc Prud'hommeaux
> Sent: Thursday, April 19, 2007 5:20 PM
> To: open-jp
David-
So now what do I do? Is there a recommended approach for dealing
with this? How does my application detect this in some global way,
and reloads from the persistence context all the instances it was
keeping around?
In my opinion, JPA is pretty weak when it comes to rollbacks. This
Hi, all. I am hoping you can help me out here. You don't have a users
list so I'm sending it to dev.
I've been implementing some code against JPA and I was trying to figure
out how to handle a transaction rollback. I wasn't sure if JPA is
responsible for rolling back the state of any objects