On 2/18/2010 10:16 AM, Tomáš Procházka wrote:
Ideal will be possibility to add method to mapper will return object on which I can call something like getNext(), hasNext() and close(). Statement will be open and Ibatis will be read and convert to object only one Object for every getNext call.
That is very JDBC-ish. From my perspective, iBATIS attempts to hide all that so that the programmer can just deal with lists of objects. ResultHandler lets you change how the list gets built. What you are asking is for JDBC to be exposed again, something like ResultSetHandler. I guess it would be possible to make that pluggable, but then you are undoing much of the framework.
-- Guy Rouillier --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org