org.exolab.castor.jdo.engine
public class OQLQueryImpl extends Object implements Query, OQLQuery
Version: $Revision: 6230 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
| Nested Class Summary | |
|---|---|
| class | OQLQueryImpl.OQLEnumeration
java.util.Enumeration implementation to traverse the result as returned by the
execution of the OQL query. |
| Constructor Summary | |
|---|---|
| OQLQueryImpl(Database database)
Creates an instance to execute a query based upon an OQL statement | |
| Method Summary | |
|---|---|
| void | bind(Object value) |
| void | bind(boolean value) |
| void | bind(short value) |
| void | bind(int value) |
| void | bind(long value) |
| void | bind(float value) |
| void | bind(double value) |
| void | close() |
| void | create(String oql) |
| void | createCall(String oql) |
| QueryResults | execute() |
| QueryResults | execute(boolean scrollable) |
| QueryResults | execute(AccessMode accessMode) |
| QueryResults | execute(AccessMode accessMode, boolean scrollable) |
| String | getSQL()
Get the generated SQL statement for this OQLQuery |
Parameters: database The Castor database to run the query against.
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: close
UNKNOWN:
See Also: OQLQuery
UNKNOWN:
Parameters: oql
Throws: QueryException
See Also: execute
UNKNOWN:
See Also: Query
UNKNOWN:
See Also: execute
UNKNOWN:
See Also: Query
UNKNOWN:
Returns: A SQL statement.
Throws: QueryException If the SQL query cannot be generated.