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

Recursion Depth for Field f should be calculated w.r.t active fetch groups and not all fetch groups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7, 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      A field f can have multiple recursion depth specified under different fetch groups.
      Give:
      f is a member of three fetch groups A,B and C with d1, d2, d3 being its recursion depth in these groups respectively.

      Assertion:
      if A and B are active and C is inactive then effective recursion depth of f should be max(d1,d2) and not max(d1,d2,d3).

      Currently recursion depth of f does not account for the active groups and is computed over all the groups f is a member of.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppoddar@apache.org Pinaki Poddar
                Reporter:
                ppoddar@apache.org Pinaki Poddar
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: