[ 
https://issues.apache.org/jira/browse/OFBIZ-13182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899691#comment-17899691
 ] 

ASF subversion and git services commented on OFBIZ-13182:
---------------------------------------------------------

Commit 2c1dd1473791be5b9eca9588cd7bb8db4f6cbea2 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=2c1dd14737 ]

Improved: Optimization on removeJob service (OFBIZ-13182)

On removeJob service when we'll remove a job sandbox, we also delete other 
element linked (RecurrenceInfo and RuntimeData).

Before their remove we control that no other job are connected to them, but 
currently we resolve the list and ensure that it empty.

To be fast, we just ask the database through a count and ensure that is zero.


> Optimization on removeJob service
> ---------------------------------
>
>                 Key: OFBIZ-13182
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13182
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/service
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Trivial
>
> On removeJob service when we'll remove a job sandbox, we also delete other 
> element linked (RecurrenceInfo and RuntimeData).
> Before their remove we control that no other job are connected to them, but 
> currently we resolve the list and ensure that it empty.
> To be fast, we just ask the database through a count and ensure that is zero.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to