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

RE: Custom vendor specific Queries

2009-04-30 Thread Ben Shory
i had to accomplish the same thing. please see post on the issue: On Mon, Jan 12, 2009 at 10:41 AM, Ben Shory be...@sapiens.com wrote: Since I'm trying to make it transparent as possible for the DBAs I decided to create a plugin Which modifies all the DAO generated methods to be like

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 be...@sapiens.com wrote: Hi, any way of breaking from row handler if I don't need to traverse the results anymore? if I throw

Re: newbie trouble grokking error message

2009-04-30 Thread Sean Mitchell
On Wed, Apr 29, 2009 at 9:46 AM, Nathan Maves nathan.ma...@gmail.com wrote: This really does look like a mapping issue.  Please include the source code of the bean and the select map that you are using. No go on posting any code... I was referred to in house 'experts' who knew even less than

Loading Properties File into SqlMapConfig

2009-04-30 Thread Srinivas Doddi
Hi We have been using iBatis for the past one year and now we are trying to re-organize our project structure. Previously we have our project structure as below and we were using properties resource=../../META-INF/database.properties /. Now we have to externalize our properties file and I am

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 Sundar Sankar
I would have used a stored proc or something to do that in the DB itself. Personally I dont wanna transfer a million records over the network and then do some logic to fetch one out of it. I dont know what your situation is, may be if you explain more, there might be a more elegant way, some of