Home » JDO » PersistenceManager » newQuery(compiled) - JDO PersistenceManager's method

newQuery(compiled) - JDO PersistenceManager's method

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.

compiled - another Query from the same JDO implementation
the new Query
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.