ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <larry.mead...@gmail.com>
Subject Re: In RowHandler.handleRow() determine if last record
Date Tue, 16 Sep 2008 20:13:58 GMT
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 <sjewett@clarksna.com> wrote:
>
> 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-tp19519525p19519525.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message