To specify a non-holdable cursor in a JDBC client application, specify
CLOSE_CURSORS_AT_COMMIT as a resultSetHoldability parameter to the
createStatement or prepareStatement method. In Neoview SQL, the default is a
non-holdable cursor.
240
SQL Language Elements
"WHERE salary > ? AND jobcode= ?"
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY,
ResultSet.HOLD_CURSORS_OVER_COMMIT);