Jody Grassel created OPENJPA-2420:
-------------------------------------

             Summary: FetchPlan.resetFetchGroups() restores "default" 
FetchGroup even if omitted from "openjpa.FetchGroups" property
                 Key: OPENJPA-2420
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2420
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
            Reporter: Jody Grassel
            Assignee: Jody Grassel
            Priority: Minor


The method FetchPlan.resetFetchGroups() restores and activates the "default" 
fetch group whether or not it is listed by the "openjpa.FetchGroups" property 
when that property is used.

When an EntityManager is created by a persistence unit definition utilizing 
"openjpa.FetchGroups" that omitted including "default" in its value, that 
EntityManager's initial FetchPlan honors the omission.  However, calling 
FetchPlan.resetFetchGroups() includes enabling "default" causing the reset 
FetchPlan to not be equivalent to the initial default FetchPlan.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to