RE: SqlMap transactions

2005-02-18 Thread Akins, Greg
@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 <[EMAIL PROTECTED]> wrote: > > It appears that when the first statement executed in a sqlmap > transaction fails, then the subsequent endTransacti

RE: SqlMap transactions

2005-02-18 Thread Akins, Greg
pdateWare... int waresUpdated = 0 ; log.info("*** GAK *** Handling " + avp.getWares().size() + " wares"); List list = avp.getWares(); for (int i=0;imailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:29 AM To: ibati

Re: SqlMap transactions

2005-02-18 Thread Brandon Goodin
Please post an example of your code. Brandon On Fri, 18 Feb 2005 11:23:35 -0500, Akins, Greg <[EMAIL PROTECTED]> 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 "s

SqlMap transactions

2005-02-18 Thread Akins, Greg
Title: Message 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 th