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

FetchPlan.resetFetchGroups() restores "default" FetchGroup even if omitted from "openjpa.FetchGroups" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • kernel
    • None

    Description

      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.

      Attachments

        Activity

          People

            fyrewyld Jody Grassel
            fyrewyld Jody Grassel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: