75 words

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

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.