Uploaded image for project: 'Content Gateway'
  1. Content Gateway
  2. CGW-306

Loading of Product and ProductVersion objects overload DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • Q2CY20
    • DM 3.4.1
    • None
    • 5

      All collections in Product and ProductVersion JPA objects are marked as FetchType.EAGER which means that everything is always loaded from the DB, even if not used (eg. in REST API /available operation). We should change it to FetchType.LAZY, mainly for collection of ProductVersion in Product, to optimize DB load as number of versions for distinct products will increase. But it is necessary to test GUI not to break something there

              dhladky@redhat.com David Hladky
              velias@redhat.com Vlastimil Eliáš
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: