fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [1/2] incubator-fineract git commit: loan integration test case fixes 453
Date Tue, 16 May 2017 05:44:57 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop fc1bb3b4a -> cf9af2ec3


loan integration test case fixes 453


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/bc91489f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/bc91489f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/bc91489f

Branch: refs/heads/develop
Commit: bc91489fc1bca93bf6281297da6407fcb0392c89
Parents: a8ac555
Author: nazeer1100126 <nazeer.shaik@confluxtechnologies.com>
Authored: Wed May 10 18:11:20 2017 +0530
Committer: nazeer1100126 <nazeer.shaik@confluxtechnologies.com>
Committed: Wed May 10 18:11:20 2017 +0530

----------------------------------------------------------------------
 .../portfolio/loanaccount/domain/LoanInstallmentCharge.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/bc91489f/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanInstallmentCharge.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanInstallmentCharge.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanInstallmentCharge.java
index f0459a2..53168ef 100755
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanInstallmentCharge.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanInstallmentCharge.java
@@ -20,7 +20,6 @@ package org.apache.fineract.portfolio.loanaccount.domain;
 
 import java.math.BigDecimal;
 
-import javax.persistence.CascadeType;
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.JoinColumn;
@@ -39,8 +38,8 @@ public class LoanInstallmentCharge extends AbstractPersistableCustom<Long>
imple
     @JoinColumn(name = "loan_charge_id", referencedColumnName = "id", nullable = false)
     private LoanCharge loancharge;
 
-    @ManyToOne(optional = false, cascade = CascadeType.ALL)
-    @JoinColumn(name = "loan_schedule_id", referencedColumnName = "id", nullable = false)
+    @ManyToOne
+    @JoinColumn(name = "loan_schedule_id", nullable = false)
     private LoanRepaymentScheduleInstallment installment;
 
     @Column(name = "amount", scale = 6, precision = 19, nullable = false)


Mime
View raw message