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

                 Key: OPENJPA-358
                 URL: https://issues.apache.org/jira/browse/OPENJPA-358
             Project: OpenJPA
          Issue Type: Bug
            Reporter: Pinaki Poddar


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to