ObjectDB ObjectDB

close(queryResult) - JDO Query's method

Method
javax.jdo.Query
void close(
  Object queryResult
)

Close a query result and release any resources associated with it. The parameter is the return from execute(...) and might have iterators open on it. Iterators associated with the query result are invalidated: they return false to hasNext() and throw NoSuchElementException to next().
Parameters:
queryResult - the result of execute(...) on this Query instance.
Since:
JDO 1.0