|
|
@@ -12,7 +12,7 @@ public interface MetaScheduledFutureRepo extends JpaRepository<MetaScheduledFutu
|
|
|
|
|
|
MetaScheduledFuture findByTypeAndTaskId(ScheduledFutureType type, String taskId);
|
|
|
|
|
|
- @Query("delete from MetaScheduledFuture m where m.type = ?1 and m.taskId = ?2")
|
|
|
+ @Query(value = "delete from meta_scheduled_future where m.type = ?1 and m.task_id = ?2", nativeQuery = true)
|
|
|
void deleteByTypeAndTaskId(ScheduledFutureType type, String taskId);
|
|
|
|
|
|
List<MetaScheduledFuture> findAllByType(ScheduledFutureType type);
|