Skip to content

Commit

Permalink
Pull request #615: ROCKSOLID-9170 Removes the dependency on CachedRow…
Browse files Browse the repository at this point in the history
…SetImpl.

Merge in MC/connect from bugfix/ROCKSOLID-9170-complete-work-to-remove-dependency-on-cachedrowsetimpl to 4.1.x

* commit '6121490d8fa8ae5b36c95f73f9dadf79c40fde6c':
  ROCKSOLID-9170 Removes the dependency on CachedRowSetImpl.
  • Loading branch information
Peter Ladesma authored and lmillergithub committed Aug 24, 2022
2 parents 6795972 + 6121490 commit d3e3109
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 d3e3109

Please sign in to comment.