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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -