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 Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Hide
          Pinaki Poddar added a comment -

          A

          Show
          Pinaki Poddar added a comment - A
          Hide
          Michael Dick added a comment -

          Is this fix complete in trunk? If so we should probably get the changes merged into 1.0.x.

          Show
          Michael Dick added a comment - Is this fix complete in trunk? If so we should probably get the changes merged into 1.0.x.

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development