se.getSQLState().substring(0, 5),
INVALID_CURSOR_STATE_NO_CURRENT_ROW);
}
try {
rs.moveToCurrentRow();
rs.updateInt(1, currentPosition + 2000);
rs.insertRow();
} catch (SQLException se) {
assertEquals("Expected exception",
se.getSQLState().substring(0, 5),