I have a progran in Java. I will illustrate it with a simplified example:
while( rowSet.next() ){
//OPERATIONS
}
I know that my row set has length 50. I want to debug row number 48, but for it I dont want to go through the while 48 times.
Do you know how to position my debug in loop 48?
Assuming that
rowSet
is ajavax.sql.RowSet
, you may use theabsolute
method to move to a given row number:The same is possible if
rowSet
is ajava.sql.ResultSet
.