JDO Method
in javax.jdo.PersistenceManager

Query newNamedQuery(
  Class cls, 
  String queryName
)


Create a new Query with the given candidate class from a named query. The query name given must be the name of a query defined in metadata.
Parameters:
cls - the Class of candidate instances
queryName - the name of the query to look up in metadata
Return:
the new Query
Since:
JDO 1.0