Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-553

Add postSync to PgUtil

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      CP: sprint 96
    • Story Points:
      1
    • Development Team:
      Core: Platform
    • Release:
      Q3 2020

      Description

      Add PgUtil.postSync.
      This method takes a list of entities and saves them into the database using a single INSERT.
      We already have the code in mod-inventory-storage:
      https://github.com/folio-org/mod-inventory-storage/blob/v18.2.3/src/main/java/org/folio/rest/impl/StorageHelper.java#L75
      Move the code from mod-inventory-storage to PgUtil to allow re-use by all modules that use RMB without using copy & paste.

      Reject the request if the number of records exceeds 1000 to prevent out-of-memory errors. This method loads all records into the memory before sending them to the database, it does not stream.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                julianladisch Julian Ladisch
                Reporter:
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases