Fast Object Database for Java - with JPA/JDO support

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

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