adamsaghy commented on code in PR #4890:
URL: https://github.com/apache/fineract/pull/4890#discussion_r2237269872
##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:
##########
@@ -308,8 +312,9 @@ public class Loan extends
AbstractAuditableWithUTCDateTimeCustom<Long> {
@OneToMany(cascade = CascadeType.ALL, mappedBy = "loan", orphanRemoval =
true, fetch = FetchType.LAZY)
private List<LoanRepaymentScheduleInstallment>
repaymentScheduleInstallments = new ArrayList<>();
- @OrderBy(value = "dateOf, createdDate, id")
- @OneToMany(cascade = CascadeType.ALL, mappedBy = "loan", orphanRemoval =
true, fetch = FetchType.LAZY)
+ // @OrderBy(value = "dateOf, createdDate, id")
+ // @OneToMany(cascade = CascadeType.ALL, mappedBy = "loan", orphanRemoval
= true, fetch = FetchType.LAZY)
+ @Transient
Review Comment:
I dont wanna see any transient fields on any JPA entities! Undo or remove
entirely!
--
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]