RodionGork commented on a change in pull request #494: GRIFFIN-240 trigger 
returns triggerkey
URL: https://github.com/apache/griffin/pull/494#discussion_r272945748
 
 

 ##########
 File path: 
service/src/main/java/org/apache/griffin/core/job/repo/JobInstanceRepo.java
 ##########
 @@ -53,4 +53,6 @@ Licensed to the Apache Software Foundation (ASF) under one
 
     @Query("select DISTINCT s from JobInstanceBean s where s.state in ?1")
     List<JobInstanceBean> findByActiveState(State[] states);
+
+    List<JobInstanceBean> findByTriggerKey(String triggerKey);
 
 Review comment:
   @chemikadze I've added `@Index` annotation, however it will only create 
index when the table is created - not when it is just modified by adding 
column. This should be ok, though.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to