Skip to content

Commit

Permalink
ROCKSOLID-9170 Removes the dependency on CachedRowSetImpl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Ladesma committed Aug 22, 2022
1 parent 6795972 commit 6121490
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6121490

Please sign in to comment.