You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2020/05/02 20:45:55 UTC

[GitHub] [fineract] vorburger commented on a change in pull request #738: GSIM and GLIM with test cases (FINERACT-603)

vorburger commented on a change in pull request #738:
URL: https://github.com/apache/fineract/pull/738#discussion_r419005883



##########
File path: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccount.java
##########
@@ -140,11 +140,11 @@
     @JoinColumn(name = "client_id", nullable = true)
     protected Client client;
 
-    @ManyToOne(optional = true)
+    @ManyToOne(optional = true, fetch=FetchType.LAZY)
     @JoinColumn(name = "group_id", nullable = true)
     protected Group group;
 
-    @ManyToOne
+    @ManyToOne(fetch=FetchType.LAZY)

Review comment:
       @rrpawar96 did you want to add this?

##########
File path: fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccount.java
##########
@@ -140,11 +140,11 @@
     @JoinColumn(name = "client_id", nullable = true)
     protected Client client;
 
-    @ManyToOne(optional = true)
+    @ManyToOne(optional = true, fetch=FetchType.LAZY)

Review comment:
       @rrpawar96 did you want to add this?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org