It is created for "quick-and-dirty" selects.
It does not require transactions openning and committing.
It does it internally.
author: Gennady Krizhevsky
quickSelect(Query query) Retrieves collection of persistent objects "by query".
Query controls the type of collection and objects to return.
Collection is never null.
long
quickSelectCount(Query query) Method will use query object to build "select count(*)" statement.
boolean
quickSelectExists(Query query) Method will use query object to build exists sql statement.
Retrieves collection of persistent objects "by query".
Query controls the type of collection and objects to return.
Collection is never null. If nothing found the one with 0-length is returned.
See Also:Query Parameters: query - Collection of persistent objects - never null. If nothing found the one with 0-length is returned. throws: OdalPersistencyException -
Method will use query object to build "select count(*)" statement.
Concrete implementation may reject query in case sql string is set
externally.
Parameters: query - count throws: OdalPersistencyException -
Method will use query object to build exists sql statement.
Concrete implementation may reject query in case sql string is set
externally.
Parameters: query - true if query returns any results throws: OdalPersistencyException -
Retrieves collection of persistent objects "by query" and returns the 1st object.
Parameters: query - 1st object or null if nothing found throws: OdalPersistencyException -