Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-458

Add new test to check that the result of getFetchGroups is a read-only copy of the currently active fetch groups.

    XMLWordPrintableJSON

Details

    Description

      In 12.7.5, specify that FetchPlan.getGroups returns a read-only copy of the active Fetch Groups.

      The test should getFetchPlan.getGroups() from the PersistenceManager and from a Query, modify the fetch plan via
      addGroup(String fetchGroupName), removeGroup(String fetchGroupName), clearGroups(), setGroups(Collection fetchGroupNames), setGroups(String[] fetchGroupNames), and setGroup(String fetchGroupName, and verify that the new getFetchPlan.getGroups has the changes but the first result is unchanged.

      Attachments

        1. FetchPlanIsCopy.java
          5 kB
          Michelle Caisse

        Activity

          People

            mcaisse Michelle Caisse
            clr Craig L Russell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: