I would like to prepare statements with resultSetHoldability parameter set to esultSet.CLOSE_CURSORS_AT_COMMIT:
PreparedStatement stmnt = conn.prepareStatement(sql, resultSetType, resultSetConcurrency, ResultSet.CLOSE_CURSORS_AT_COMMIT)
...and the same for prepareCall. I am currently using Spring's JdbcTemplate and SimpleJdbcCall, because ...