OpenJPA
  1. OpenJPA
  2. OPENJPA-2414

FinderCache does not consider active Fetch Groups/FetchPlan added Fields

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.3.0
    • Fix Version/s: 2.1.2, 2.2.1.1, 2.2.3, 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      The FinderCache retains a Map, associating a ClassMapping with a FinderQuery. However, this cache does not factor in the characteristics of the FetchPlan that was active when a mapping is created, nor does it factor them to determine if a cache hit is appropriate. This causes the find() operation to perform the same SQL as the first time it was executed, regardless of changes to the active FetchPlan afterwards.

        Activity

          People

          • Assignee:
            Jody Grassel
            Reporter:
            Jody Grassel
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development