removed unused alias from SQL query of mdm-clear (#5416)
This commit is contained in:
parent
1c5fe61b38
commit
7131be758c
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
type: fix
|
||||
issue: 5415
|
||||
title: "Previously, `$mdm-clear` jobs would fail on MSSQL. This is now fixed."
|
|
@ -53,7 +53,7 @@ public interface IMdmLinkJpaRepository
|
|||
@Modifying
|
||||
@Query(
|
||||
value =
|
||||
"DELETE FROM MPI_LINK_AUD f WHERE GOLDEN_RESOURCE_PID IN (:goldenPids) OR TARGET_PID IN (:goldenPids)",
|
||||
"DELETE FROM MPI_LINK_AUD WHERE GOLDEN_RESOURCE_PID IN (:goldenPids) OR TARGET_PID IN (:goldenPids)",
|
||||
nativeQuery = true)
|
||||
void deleteLinksHistoryWithAnyReferenceToPids(@Param("goldenPids") List<Long> theResourcePids);
|
||||
|
||||
|
|
Loading…
Reference in New Issue