From 07f8812957cee1257c931a88ade86a839973e730 Mon Sep 17 00:00:00 2001 From: Vishwas Babu A J Date: Sun, 6 Sep 2015 21:44:01 +0530 Subject: [PATCH] fixing transaction scope for client charges deletion --- .../portfolio/client/domain/ClientChargeRepositoryWrapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/client/domain/ClientChargeRepositoryWrapper.java b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/client/domain/ClientChargeRepositoryWrapper.java index a3595637a..ecfeec712 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/client/domain/ClientChargeRepositoryWrapper.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/client/domain/ClientChargeRepositoryWrapper.java @@ -41,6 +41,7 @@ public class ClientChargeRepositoryWrapper { public void delete(final ClientCharge clientCharge) { this.repository.delete(clientCharge); + this.repository.flush(); } }