ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaur <jason.laurice...@pepsi.com>
Subject Re: Help with what "commitRequired=true" param means
Date Tue, 10 Jun 2008 17:24:04 GMT

We propagate any db related errors upwards to our struts action class (struts
action class calls our business delegate) - where we do logging there.  In
the logs, we do not see any logged db errors assoc with the save.  We also
had our dba monitor the db connection for errors and he did not see anything
other than the fact that there was no commit assoc with the db connection
statements.  So, I'm pretty stumped ...


Nicholoz Koka Kiknadze wrote:
> First of all I'd add catch block to log errors to your try/finally. In
> your
> code you do multiple inserts, so if any of them fails your whole
> transaction
> will roll back. I can see no other possible scenario :(

View this message in context: http://www.nabble.com/Help-with-what-%22commitRequired%3Dtrue%22-param-means-tp17755411p17760574.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message