ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Lu <mfcp...@yahoo.com>
Subject Re: daomanager doesn't rollback transaction?
Date Wed, 02 Aug 2006 03:17:11 GMT
i'm using oracle9, and my code is just like the code
in the javadoc, I will post the code tomorrow thanks

--- Jeff Butler <jeffgbutler@gmail.com> wrote:

> iBATIS transactions work well for many people every
> day - so it is highly
> likely that your code is in error.
> 
> If you want us to debug your code, you're going to
> have to give us more
> information.  So, as Larry already asked, are you
> using MySQL?
> 
> And, can we see some of your code?  Expecially the
> code that controls the
> transaction and calls other methods.  I know you've
> asked before about this
> on the list, but you've never provided enough
> information for us to help
> you.
> 
> Jeff Butler
> 
> 
> On 8/1/06, Bing Lu <mfcplus@yahoo.com> wrote:
> >
> > 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
> > http://mail.yahoo.com
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message