49 words

newNamedQuery(cls, queryName) - JDO PersistenceManager's method

Method
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
Returns:
the new Query
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.