[
https://issues.apache.org/jira/browse/AIRAVATA-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414815#comment-16414815
]
ASF GitHub Bot commented on AIRAVATA-2719:
------------------------------------------
machristie commented on a change in pull request #187: [AIRAVATA-2719]
Refactoring Replica Catalog Implementation
URL: https://github.com/apache/airavata/pull/187#discussion_r177274603
##########
File path:
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/utils/QueryConstants.java
##########
@@ -37,4 +38,10 @@
"WHERE BQ.groupResourceProfileId LIKE : " +
DBConstants.GroupResourceProfile.GROUP_RESOURCE_PROFILE_ID;
String FIND_ALL_GROUP_COMPUTE_RESOURCE_POLICY = "SELECT CR FROM "+
ComputeResourcePolicyEntity.class.getSimpleName() + " CR " +
"WHERE CR.groupResourceProfileId LIKE : " +
DBConstants.GroupResourceProfile.GROUP_RESOURCE_PROFILE_ID;
+
+ String FIND_ALL_CHILD_DATA_PRODUCTS = "SELECT DP FROM " +
DataProductEntity.class.getSimpleName() + " DP " +
+ "WHERE DP.parentProductUri LIKE: " +
DBConstants.DataProduct.PARENT_PRODUCT_URI;
Review comment:
Shouldn't it be LIKE followed by a space followed by a colon? Same on 45 and
46.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Refactoring Replica Catalog
> ---------------------------
>
> Key: AIRAVATA-2719
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2719
> Project: Airavata
> Issue Type: Improvement
> Components: Registry API
> Reporter: Sneha Tilak
> Assignee: Sneha Tilak
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)