You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by "Akins, Greg" <ga...@amervideo.com> on 2005/02/18 17:23:35 UTC

SqlMap transactions

It appears that when the first statement executed in a sqlmap
transaction fails, then the subsequent endTransaction (called in a
catch) fails because there isn't a "started" transaction?
 
Is that correct?  If so, is it recommended that I just ignore the
SQLException error thrown from the endTransaction()?
 
Greg Akins
Software Engineer
Sony Electronics, STP Systems
724.696.7322 (Sony)
724.696.6147 (AV)
724.454.7790 (Cell)
412.590.3973 (Pager)
 

Re: SqlMap transactions

Posted by Brandon Goodin <br...@gmail.com>.
Please post an example of your code.

Brandon


On Fri, 18 Feb 2005 11:23:35 -0500, Akins, Greg <ga...@amervideo.com> wrote:
>  
> It appears that when the first statement executed in a sqlmap transaction
> fails, then the subsequent endTransaction (called in a catch) fails because
> there isn't a "started" transaction? 
>   
> Is that correct?  If so, is it recommended that I just ignore the
> SQLException error thrown from the endTransaction()? 
>   
>  
> Greg Akins 
> Software Engineer 
> Sony Electronics, STP Systems 
> 724.696.7322 (Sony) 
> 724.696.6147 (AV) 
> 724.454.7790 (Cell) 
> 412.590.3973 (Pager) 
>