Re: Caching not working

2008-09-16 Thread Sundar Sankar
Thanks! Will try it out and let you know. On Tue, Sep 16, 2008 at 2:41 PM, George Marvin <[EMAIL PROTECTED]>wrote: > Hi Sundar, > I have a much better solution. I was able to successfully subclass > oracle.sql.ARRAY and just add the equals() and hashcode() methods. Here is a > sample of how it lo

Re: In RowHandler.handleRow() determine if last record

2008-09-16 Thread Larry Meadors
I've never done that before. ;-) Larry On Tue, Sep 16, 2008 at 2:56 PM, sjewett <[EMAIL PROTECTED]> wrote: > > Thanks Larry (and Clinton). You both have the same suggestion. I had > already tried this. It wasn't working for me, but I finally figured it out. > The reason it wasn't working is

Re: In RowHandler.handleRow() determine if last record

2008-09-16 Thread sjewett
Thanks Larry (and Clinton). You both have the same suggestion. I had already tried this. It wasn't working for me, but I finally figured it out. The reason it wasn't working is that when I declared and instantiated myRH . . . I neglected to declare it as Type MyRH . . . so it was acting like m

Re: In RowHandler.handleRow() determine if last record

2008-09-16 Thread Larry Meadors
Not that I know of... But you could do this: MyRH myRH = new MyRH(); sqlMap.queryWithRH(); myRH.doSomeStuffAfterAllTheDataHasBeenRead(); If you encapsulate that in a method so it's always done the same, you should be golden, no? Larry On Tue, Sep 16, 2008 at 2:05 PM, sjewett <[EMAIL PROTE

Re: In RowHandler.handleRow() determine if last record

2008-09-16 Thread Clinton Begin
No... but typically what you would do is just have a post processing step... MyRowHandler handler = new MyRowHandler() mapper.queryWithRowHandler("blah",handler); handler.postProcessing(); Clinton On Tue, Sep 16, 2008 at 2:05 PM, sjewett <[EMAIL PROTECTED]> wrote: > > Hello, > > Any help is gre

In RowHandler.handleRow() determine if last record

2008-09-16 Thread sjewett
Hello, Any help is greatly appreciated. I'm using iBATIS 2.1.7. Is there any way, from within the handleRow() method, to determine whether you are on the last (final) row? Thank you -- View this message in context: http://www.nabble.com/In-RowHandler.handleRow%28%29-determine-if-last-record-

Populating Map property from

2008-09-16 Thread Kyunam Kim
Hi All, I don't think it is possible but just in case I'm forgetting something... I'd like to populate a java.util.Map property while in by inserting some column values from a current row. In other words, would it be possible to call a method that takes 2 arguments using ? e.g., p