Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2508

LEFT JOIN FETCH not honored when data cache is enabled

    XMLWordPrintableJSON

Details

    Description

      In a simple JPQL with left join fetch for a lazy loaded association specified and data cached enabled, first time the query executed, the lazy loaded association get loaded, returned and cached. Subsequent invocation of the same query does NOT "load" and return the association from the query invocation.

      I'll attach a test case to reproduce the problem.

      Attachments

        1. qcsq.v2.patch
          5 kB
          Albert Lee
        2. OPENJPA-2508.test.zip
          3 kB
          Albert Lee
        3. OPENJPA-2508.221x.patch
          30 kB
          Albert Lee

        Activity

          People

            jpaheath Heath Thomann
            allee8285 Albert Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: