Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-13176

Add delegator method to create in mass many entities

    XMLWordPrintableJSON

Details

    Description

      When you need to load huge record on your database (like system synchronization, data import) OFBiz can have latency with the delegator.create.
      Incriminated unitary workflow and eeca control. You can disable eeca on use a dedicate delegator but sometime it's not enough.

      So for special case, we implement a new function delegator.createAllByBatchProcess that will use an insert with one transaction through the standard sql method INSERT TO ... VALUES ... .

      By the way, like the process isn't unitary, the eeca system can't run on this batch, so this function must therefore be used with care

      Thanks to Néréide team for this contribution

      Attachments

        Issue Links

          Activity

            People

              nmalin Nicolas Malin
              nmalin Nicolas Malin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: