ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lamey" <cla...@localmatters.com>
Subject RE: daomanager doesn't rollback transaction?
Date Wed, 02 Aug 2006 03:24:28 GMT

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
- 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.


-----Original Message-----
From: Bing Lu [mailto:mfcplus@yahoo.com]
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 <mfcplus@yahoo.com> 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 

View raw message