From 6121490d8fa8ae5b36c95f73f9dadf79c40fde6c Mon Sep 17 00:00:00 2001 From: Peter Ladesma Date: Mon, 22 Aug 2022 13:22:28 -0700 Subject: [PATCH] ROCKSOLID-9170 Removes the dependency on CachedRowSetImpl. --- .../mirth/connect/connectors/jdbc/DatabaseReceiverQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/com/mirth/connect/connectors/jdbc/DatabaseReceiverQuery.java b/server/src/com/mirth/connect/connectors/jdbc/DatabaseReceiverQuery.java index d07715e04..0be99303e 100644 --- a/server/src/com/mirth/connect/connectors/jdbc/DatabaseReceiverQuery.java +++ b/server/src/com/mirth/connect/connectors/jdbc/DatabaseReceiverQuery.java @@ -28,9 +28,9 @@ import com.mirth.connect.donkey.server.ConnectorTaskException; import com.mirth.connect.server.controllers.ContextFactoryController; import com.mirth.connect.server.controllers.ControllerFactory; +import com.mirth.connect.server.userutil.MirthCachedRowSet; import com.mirth.connect.server.util.TemplateValueReplacer; import com.mirth.connect.server.util.javascript.MirthContextFactory; -import com.sun.rowset.CachedRowSetImpl; public class DatabaseReceiverQuery implements DatabaseReceiverDelegate { private PreparedStatement selectStatement; @@ -192,7 +192,7 @@ public Object poll() throws DatabaseReceiverException, InterruptedException { // if we are not caching the ResultSet, return it immediately if (connectorProperties.isCacheResults()) { // if we are caching the ResultSet, convert it into a CachedRowSet and return it - cachedRowSet = new CachedRowSetImpl(); + cachedRowSet = new MirthCachedRowSet(); cachedRowSet.populate(resultSet); DbUtils.closeQuietly(resultSet); resultSet = cachedRowSet;