Hello Everyone,
I am iterating over a ResultSet and my code snippet is like this.
Now, if there is an exception the rollback() is getting called. And after then in the while loop execution
it throws error as ResultSet is already closed.
Does that mean, I can't loop through a ResultSet rows after calling rollback().
Does rollback() closes all the
JDBC resources?