This is a follow up to SOLR-8616. Due to changes in SOLR-8612 it's now no longer possible without additional modifications to use a different ResultSetIterator class. The attached patch solves this.
Solr 6.x DataImportHandler fails with postgreSQL dataSource with multiple joined entities
TODO add the test attached to SOLR-9256
adding the test method from SOLR-9256. I'm going to commit it soon.
Commit 209bfcf02131e6c9196d3f9f6bd69d7ae2a6fc63 in lucene-solr's branch refs/heads/master from Mikhail Khludnev
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=209bfcf ]
JdbcDataSource.createResultSetIterator(), adding a test for
Commit 77409fd43264e57d1b65f5fee3b9c7277d2f740a in lucene-solr's branch refs/heads/branch_6x from Mikhail Khludnev
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=77409fd ]