org.exolab.castor.jdo.engine
public class SimpleQueryExecutor extends Object
Version: $Revision: 5951 $ $Date: 2006-03-14 06:22:05 -0700 (Tue, 14 Mar 2006) $
Nested Class Summary | |
---|---|
class | SimpleQueryExecutor.SimpleQueryResults |
Constructor Summary | |
---|---|
SimpleQueryExecutor(Database database)
Creates an instance to execute a simple query. |
Method Summary | |
---|---|
QueryResults | execute(Connection conn, QueryExpression expr, Object[] bindValues)
Executes a simple query and returns the results. |
Parameters: database 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.