kumaab commented on code in PR #545:
URL: https://github.com/apache/ranger/pull/545#discussion_r2004903976


##########
security-admin/src/main/resources/META-INF/jpa_named_queries.xml:
##########
@@ -120,7 +120,10 @@
                 order by obj.policyId, obj.id
                         </query>
         </named-query>
-
+               <named-query name="XXPolicyLabelMap.findByPolicyIdAndLabelId">
+                       <query>SELECT obj FROM XXPolicyLabelMap obj WHERE 
obj.id = :policyLabelId AND obj.policyId = :policyId

Review Comment:
   Ah, this is why database exceptions were seen, thanks.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to