diff options
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java index f698c14e778..74d55cfc797 100644 --- a/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java +++ b/sonar-core/src/main/java/org/sonar/core/purge/AbstractPurge.java @@ -57,8 +57,8 @@ public abstract class AbstractPurge implements Purge { } protected void deleteDependencies(List<Integer> snapshotIds) { - executeQuery("deleteDependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.fromSnapshotId in (:ids)"); - executeQuery("deleteDependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.toSnapshotId in (:ids)"); + executeQuery("delete dependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.fromSnapshotId in (:ids)"); + executeQuery("delete dependencies", snapshotIds, "delete from " + DependencyDto.class.getSimpleName() + " d where d.toSnapshotId in (:ids)"); } /** |