CSPACE-5943: SQL query now invokes JDBCTools routine rather than replicating SQL execution code in RepositoryJavaClientImpl, via the use of a CachedRowSet. IDs returned are still not the correct ones; simplified SQL script used for testing needs at least one more join, a la CSPACE-5945.