ResultIterator and ResultSet

99 views
Skip to first unread message

Danilo Reinert

unread,
May 10, 2013, 1:49:14 PM5/10/13
to jd...@googlegroups.com
Can I just retrieve the ResultSet instance from ResultIterator.next() ?

I tried to create a simple ResultSetMapper<ResultSet> that just returns the ResultSet instance but, somehow, the ResultSet doesn't stays synchronized with the ResultIterator.

The ResultIterator always jump the first row, so when i call it.next() it gives me the ResultSet positioned at the second row. =/

I would appreciate any help.

--
D. Reinert

Brian McCallister

unread,
Aug 1, 2013, 7:08:20 PM8/1/13
to jd...@googlegroups.com
Eek, sorry I missed this. You should *not* advance the result set yourself.


--
You received this message because you are subscribed to the Google Groups "jDBI" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jdbi+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages