ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Greg" <gak...@amervideo.com>
Subject RE: SqlMap transactions
Date Fri, 18 Feb 2005 16:46:14 GMT
Doh, I just realized that I was only seeing the End Transaction error
because I was rethrowing the original error out of the same try block.



-----Original Message-----
From: Brandon Goodin [mailto:brandon.goodin@gmail.com] 
Sent: Friday, February 18, 2005 11:29 AM
To: ibatis-user-java@incubator.apache.org
Subject: Re: SqlMap transactions


Please post an example of your code.

Brandon


On Fri, 18 Feb 2005 11:23:35 -0500, Akins, Greg <gakins@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) 
>

Mime
View raw message