From 823f08e39899416d0b28913979cf7040a7035d83 Mon Sep 17 00:00:00 2001 From: Peter Bae Date: Wed, 6 Dec 2017 14:45:06 -0800 Subject: [PATCH] Fix issue with rowDeleted() causing issues with testing --- .../java/com/microsoft/sqlserver/jdbc/SQLServerResultSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;