Hello,
In general, at a very high level, it is safe to say that transactions in iBATIS work. Lots of people are using them regularly without any problems with the right RDBMS configured correctly. For example, my group successfully uses iBATIS 2.1.7 with Postgres 8.x and Spring's declarative transaction manager.
However, it's hard to say whether or not anyone's had the issue you're seeing when there isn't much background information on your problem. From what I've seen on this list, people generally get help if they send along this information along with their issue:
- Vendor and version of RDBMS (Postgres 8.0, Oracle 10g, etc)
- Version of iBATIS DataMapper and/or DAOs
- Version of Java
- Operation system type and version of the RDBMS and application
- Deployment environment (standalone main application, Tomcat, JBoss, Webshere, BEA, etc)
- (If applicable) Version of Abator
- (If applicable) Version of Spring
- Snippet of your sqlmap config file, specifically the settings and, if applicable, transactionManager elements
- A write up of expection for transaction management, specifically if you're expecting iBATIS to do it or an external manager. If it's an external manager, what is it and how is it configured.
Thanks,
Chris
-----Original Message-----
From: Bing Lu [mailto:[EMAIL PROTECTED]]
Sent: Tue 8/1/2006 8:56 PM
To: user-java@ibatis.apache.org
Subject: Re: daomanager doesn't rollback transaction?
anybody? no one had this issue before? or what am i
doing wrong?
--- Bing Lu <[EMAIL PROTECTED]> wrote:
> Hi, I'm using daomanager transactions. what I did
> was
> start a transaction, do couple inserts and a delete
> and some more inserts, the problem I have is after
> deletion, my insert threw an exception and didn't
> finish inserting all the stuff, at this point the
> daomanager should rollback to earlier stage(prior to
> delete) but when I checked the database, I see the
> rows have already been deleted which means the
> transaction didn't rollback. Am I doing something
> wrong?
>
> thanks
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Title: RE: daomanager doesn't rollback transaction?
- Re: daomanager doesn't rollback transaction? Jeff Butler
- Re: daomanager doesn't rollback transaction? Bing Lu
- RE: daomanager doesn't rollback transaction? Chris Lamey
- RE: daomanager doesn't rollback transaction? Bing Lu
- RE: daomanager doesn't rollback transactio... Chris Lamey
- RE: daomanager doesn't rollback transa... Bing Lu
- Re: daomanager doesn't rollback transa... Jeff Butler
- Re: daomanager doesn't rollback t... Debasish Dutta Roy
- RE: daomanager doesn't rollback transaction? Mkhitaryan, Aram