ObjectDB ObjectDB

newQuery(cls, filter) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Query newQuery(
  Class cls,
  String filter
)

Create a new Query with the Class of the candidate instances and filter.
Parameters:
cls - the Class of results
filter - the filter for candidate instances
Returns:
the new Query
Since:
JDO 1.0