From 49cbff6c0ce07b80442b8241cdf22aa6ea517c57 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Tue, 3 Sep 2024 11:49:41 +0200 Subject: [PATCH] Add missing @Transactional in JpaPriorNotificationUploadRepository --- .../repositories/JpaPriorNotificationUploadRepository.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt index c796cefaaf..93017484c4 100644 --- a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt +++ b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt @@ -13,6 +13,7 @@ import org.springframework.transaction.annotation.Transactional class JpaPriorNotificationUploadRepository( private val dbPriorNotificationUploadRepository: DBPriorNotificationUploadRepository, ) : PriorNotificationUploadRepository { + @Transactional override fun deleteById(id: String) { dbPriorNotificationUploadRepository.deleteById(id) }