addFetchGroups(groups) - JDO PersistenceManagerFactory's method
Add the
FetchGroup
s to the set of active fetch groups.
FetchGroup
s are made unmodifiable before being added.
FetchGroup
s that match existing
FetchGroup
s replace the corresponding
FetchGroup
s. The replaced
FetchGroup
s become unscoped. Match is based on identical class and equal name. The methods
addFetchGroups
,
removeFetchGroups
,
getFetchGroups
, and
removeAllFetchGroups
are internally serialized.
- Parameters:
-
groups
- an array of FetchGroups
- Throws:
-
SecurityException
- if the caller is not authorized for JDOPermission
("manageMetadata")
- Since:
- JDO 2.2