JDO Method
in javax.jdo.PersistenceManagerFactory

FetchGroup getFetchGroup(
  Class cls, 
  String name
)


Create an unscoped, modifiable FetchGroup for the Class and name. If a corresponding FetchGroup already exists in PersistenceManagerFactory scope, copy its definition to a new FetchGroup. If the FetchGroup does not already exist, create it with no members. The FetchGroup does not become in scope until it is added to the current set via addFetchGroups.
Parameters:
cls - the class or interface for the FetchGroup
name - the name of the fetch group
Return:
the FetchGroup
Throws:
JDOUserException - if the class is not a persistence-capable class or interface
Since:
JDO 2.2