Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1675

Avoid fetching and updating whole datatree in updateDataLeaves

    XMLWordPrintable

Details

    Description

      Presently, updateDataLeaves fetches existing nodes with all descendants, changes the leaves, then writes out the whole tree again.

      It can be optimized by rewriting the code using idiomatic JPA patterns, or by using handwritten SQL:

      UPDATE FRAGMENT SET attributes=? WHERE id=?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: