]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5943: Remove now-extraneous JOIN.
authorAron Roberts <aron@socrates.berkeley.edu>
Mon, 8 Apr 2013 23:22:05 +0000 (16:22 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Mon, 8 Apr 2013 23:22:05 +0000 (16:22 -0700)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java

index 9834720c6f2fe5262639d2b5339daf7edab0def6..96eaf72cbcccdd256361cfa3ff736a7c6593324b 100644 (file)
@@ -1029,9 +1029,6 @@ public class RepositoryJavaClientImpl implements RepositoryClient<PoxPayloadIn,
             if (inAuthorityValue.equals(PARENT_WILDCARD)) {
                 // Add nothing to the query here if it should match within all authorities
             } else {
-                joinClauses = joinClauses
-                    + " INNER JOIN " + handler.getServiceContext().getCommonPartLabel() + " commonschema"
-                    + "  ON commonschema.id = hierarchy_termgroup.parentid";
                 whereClause = whereClause
                     + "  AND (commonschema.inauthority = ?)";
                 params.add(inAuthorityValue); // Value for replaceable parameter 2 in the query