resultset - getString method of result set in SQL, returns the last value even when cursor is after the last line -


i have query gives 5 lines output. tried iterate on resultset using next method. after 5/more 5 iterations, rs.next starts give 0. getstring method returns last value, when cursor after last row.

can please me find how possible or if expected?

thanks, mathi


Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

Android: SharingActionView on swipe from bottom -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -