diff --git a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResultSet.java b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResultSet.java index 45745eb49..325e21989 100644 --- a/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResultSet.java +++ b/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResultSet.java @@ -974,7 +974,7 @@ public boolean next() throws SQLServerException { } catch (SQLServerException e) { break; } - } while (rowDeleted()); // repeat this if the row has been deleted beforehand, for scrollable & updatable resultsets. + } while (getDeletedCurrentRow()); // repeat this if the row has been deleted beforehand, for scrollable & updatable resultsets. boolean value = hasCurrentRow(); loggerExternal.exiting(getClassNameLogging(), "next", value); return value;