pefernan commented on code in PR #1962:
URL: 
https://github.com/apache/incubator-kie-kogito-apps/pull/1962#discussion_r1465164327


##########
data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/java/org/kie/kogito/app/audit/jpa/JPADataAuditStore.java:
##########
@@ -414,7 +414,7 @@ public void storeQuery(DataAuditContext context, 
DataAuditQuery dataAuditQuery)
     @Override
     public List<DataAuditQuery> findQueries(DataAuditContext context) {
         EntityManager entityManager = context.getContext();
-        List<AuditQuery> queries = entityManager.createNamedQuery("SELECT o 
FROM AuditQuery o", AuditQuery.class).getResultList();
+        List<AuditQuery> queries = entityManager.createQuery("SELECT o FROM 
AuditQuery o", AuditQuery.class).getResultList();

Review Comment:
   👍 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to