Line 225: selectAllStatement = targetConnection.prepareStatement(selectAllSQL);
I think the used connection must be sourceConnection.
Line 349 and Line 422: ResultSet selectAllResultSet = selectAllStatement.executeQuery();
The selectAllResultSet.next() method must be called before use selectAllResultSet, otherwise it will cause an Exception.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Line 225: selectAllStatement = targetConnection.prepareStatement(selectAllSQL);
I think the used connection must be sourceConnection.
Line 349 and Line 422: ResultSet selectAllResultSet = selectAllStatement.executeQuery();
The selectAllResultSet.next() method must be called before use selectAllResultSet, otherwise it will cause an Exception.
https://github.com/ha-jdbc/ha-jdbc/commit/cde815332de6774345670bda80119bb31e20e3cb