org.exolab.castor.jdo.engine
public class SimpleQueryExecutor extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:18 $
Nested Class Summary | |
---|---|
class | SimpleQueryExecutor.SimpleQueryResults |
Constructor Summary | |
---|---|
SimpleQueryExecutor(DatabaseImpl dbImpl)
Constructor to create an object to execute a simple query.
|
Method Summary | |
---|---|
QueryResults | execute(QueryExpression expr, Object[] bindValues)
Executes a simple query and returns the results. |
Parameters: dbImpl the Database Implementation, used to get the connection
Parameters: expr the Query Expression to be executed. bindValues the values of the parameters
Returns: the results of the query.
Throws: QueryException if anything goes wrong.