[
https://issues.apache.org/jira/browse/FINERACT-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy updated FINERACT-2190:
---------------------------------
Description:
There are operations where all of the existing loan repayment schedule periods
are discarded (List.clear()) and recreated (added to the Loan entity loan
repayment schedule periods one by one).
It often causes performance and / or failed removal of orphan entries by
Eclipselink.
We should identify these places and review them whether removal is absolutely
necessary!
*We should rather focus on updating the existing ones instead of remove and
add new ones!*
was:
There are operations where all of the existing loan repayment schedule periods
are discarded (List.clear()) and recreated (added to the Loan entity loan
repayment schedule periods one by one).
It often causes performance and / or failed removal of orphan entries by
Eclipselink.
We should identify these places and review them whether removal is absolutely
necessary!
*We should rather focus on updating the existing ones than remove and add new
ones!*
> Avoid recreation of loan repayment schedule periods
> ---------------------------------------------------
>
> Key: FINERACT-2190
> URL: https://issues.apache.org/jira/browse/FINERACT-2190
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Adam Saghy
> Priority: Minor
> Fix For: 1.12
>
>
> There are operations where all of the existing loan repayment schedule
> periods are discarded (List.clear()) and recreated (added to the Loan entity
> loan repayment schedule periods one by one).
> It often causes performance and / or failed removal of orphan entries by
> Eclipselink.
> We should identify these places and review them whether removal is absolutely
> necessary!
> *We should rather focus on updating the existing ones instead of remove and
> add new ones!*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)