Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1798

ROP: Reverse relationships of prefetched entity objects are not filled during server to client objects conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1B2
    • 4.0.M2
    • ROP
    • None

    Description

      When doing queries with prefetches from client, reverse relationships of prefetched objects are not filled immediately after query execution causing new queries to server when accessed.

      E.g.: say we execute query for all artists with prefetch Artist -> Paintings. After query execution if we do artist.getPaintings().get(0).getArtist() then new db query will be executed.

      Attachments

        1. CAY-1798.patch
          3 kB
          Dzmitry Kazimirchyk

        Activity

          People

            demitri Dzmitry Kazimirchyk
            demitri Dzmitry Kazimirchyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: