RE: gracefuly exit from row handler

2009-05-01 Thread Jose Lora
@ibatis.apache.org Subject: RE: gracefuly exit from row handler sotred proc is not an option. actually i'm porting a db2 stored proc batch app to java - spring batch - ibatis. ok, let's say i'm processing milions of rows and counting errors.. if i reach 1k errors i want to quit. i can use pa

RE: gracefuly exit from row handler

2009-04-30 Thread Ben Shory
ce impact and b. i need to change the sql statements and also make them vendor specific. From: Sundar Sankar [mailto:fatboys...@gmail.com] Sent: Thursday, April 30, 2009 7:11 PM To: user-java@ibatis.apache.org Subject: Re: gracefuly exit from row handler I wo

Re: gracefuly exit from row handler

2009-04-30 Thread Sundar Sankar
; *Sent:* Thursday, April 30, 2009 3:58 PM > *To:* user-java@ibatis.apache.org > *Subject:* Re: gracefuly exit from row handler > > Not really... but why are you asking for data you don't need? Is there any > way to just select out exactly what you need? > > On Th

RE: gracefuly exit from row handler

2009-04-30 Thread Ben Shory
not really.. i need to choose one row out of milions using logic involving other data sources. From: Clinton Begin [mailto:clinton.be...@gmail.com] Sent: Thursday, April 30, 2009 3:58 PM To: user-java@ibatis.apache.org Subject: Re: gracefuly exit from row

Re: gracefuly exit from row handler

2009-04-30 Thread Clinton Begin
Not really... but why are you asking for data you don't need? Is there any way to just select out exactly what you need? On Thu, Apr 30, 2009 at 2:20 AM, Ben Shory wrote: > Hi, > any way of breaking from row handler if I don't need to traverse the > results anymore? > if I throw runtime except

gracefuly exit from row handler

2009-04-30 Thread Ben Shory
Hi, any way of breaking from row handler if I don't need to traverse the results anymore? if I throw runtime exception will it handle the resources correctly? --ben