Note that JDBC defines cursors as holdable per default. A holdable cursor is kept open over COMMIT and closed upon ROLLBACK. Having multiple handles or holdable sections. One has to pay attention when using holdable cursors, however. When a COMMIT occurs, a holdable cursor is positioned "before" the next row.