wkigenyi commented on code in PR #2730:
URL: https://github.com/apache/fineract/pull/2730#discussion_r1015870711
##########
fineract-provider/src/main/java/org/apache/fineract/notification/domain/NotificationMapperRepository.java:
##########
@@ -18,6 +18,25 @@
*/
package org.apache.fineract.notification.domain;
+import java.util.Collection;
import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.Modifying;
+import org.springframework.data.jpa.repository.Query;
+import org.springframework.data.repository.query.Param;
+import org.springframework.transaction.annotation.Transactional;
-public interface NotificationMapperRepository extends
JpaRepository<NotificationMapper, Long> {}
+public interface NotificationMapperRepository extends
JpaRepository<NotificationMapper, Long> {
+
+ @Transactional
+ @Modifying(flushAutomatically = true)
Review Comment:
Thanks @galovics flushAutomatically is not needed here. It will not be in
the next PR.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]