org.exolab.castor.jdo.engine
public class SimpleQueryExecutor extends Object
Version: $Revision: 1.7 $ $Date: 2005/07/15 21:59:16 $
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(Connection conn, 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.