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
Post a Comment