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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.7, 1.0.0
    • 1.0.1, 1.1.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: