ObjectDB ObjectDB

newQuery(compiled) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
Query newQuery(
  Object compiled
)

Create a new Query using elements from another Query. The other Query must have been created by the same JDO implementation. It might be active in a different PersistenceManager or might have been serialized and restored.

All of the settings of the other Query are copied to this Query, except for the candidate Collection or Extent.

Parameters:
compiled - another Query from the same JDO implementation
Returns:
the new Query
Since:
JDO 1.0