This is an automated email from the ASF dual-hosted git repository.

kaze pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 98fd8d2  FINERACT-1103 - Resolve 
org.eclipse.persistence.exceptions.EntityManagerSetupException @creditBurea
98fd8d2 is described below

commit 98fd8d24c9387123922585e9f60cc7f405de4453
Author: xurror <kaze.nas...@outlook.com>
AuthorDate: Mon Aug 3 13:09:13 2020 +0100

    FINERACT-1103 - Resolve 
org.eclipse.persistence.exceptions.EntityManagerSetupException @creditBurea
---
 .../infrastructure/creditbureau/domain/CreditBureau.java  | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java
 
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java
index a891b35..565dbbc 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/domain/CreditBureau.java
@@ -18,11 +18,8 @@
  */
 package org.apache.fineract.infrastructure.creditbureau.domain;
 
-import java.util.ArrayList;
 import java.util.List;
-import javax.persistence.CascadeType;
 import javax.persistence.Entity;
-import javax.persistence.OneToMany;
 import javax.persistence.Table;
 import org.apache.fineract.infrastructure.core.api.JsonCommand;
 import 
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom;
@@ -39,16 +36,12 @@ public class CreditBureau extends AbstractPersistableCustom 
{
 
     private String implementationKey;
 
-    @OneToMany(mappedBy = "organisation_creditbureau", cascade = 
CascadeType.ALL)
-    private List<CreditBureauLoanProductMapping> 
CreditBureauLoanProductMapping = new ArrayList<>();
-
     public CreditBureau(String name, String product, String country, String 
implementationKey,
             List<CreditBureauLoanProductMapping> 
CreditBureauLoanProductMapping) {
         this.name = name;
         this.product = product;
         this.country = country;
         this.implementationKey = implementationKey;
-        this.CreditBureauLoanProductMapping = CreditBureauLoanProductMapping;
     }
 
     public CreditBureau() {
@@ -98,12 +91,4 @@ public class CreditBureau extends AbstractPersistableCustom {
         this.implementationKey = implementationKey;
     }
 
-    public List<CreditBureauLoanProductMapping> getCreditBureauLpMapping() {
-        return this.CreditBureauLoanProductMapping;
-    }
-
-    public void setCreditBureauLpMapping(List<CreditBureauLoanProductMapping> 
CreditBureauLoanProductMapping) {
-        this.CreditBureauLoanProductMapping = CreditBureauLoanProductMapping;
-    }
-
 }

Reply via email to