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 ofexecute(...)
on thisQuery
instance.
- 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.