public class SimpleQueryExecutor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleQueryExecutor.SimpleQueryResults |
| Constructor and Description |
|---|
SimpleQueryExecutor(Database database)
Creates an instance to execute a simple query.
|
| Modifier and Type | Method and Description |
|---|---|
QueryResults |
execute(java.sql.Connection conn,
QueryExpression expr,
java.lang.Object[] bindValues)
Executes a simple query and returns the results.
|
public SimpleQueryExecutor(Database database)
database - the Database Implementation, used to get the connectionpublic QueryResults execute(java.sql.Connection conn, QueryExpression expr, java.lang.Object[] bindValues) throws QueryException
expr - the Query Expression to be executed.bindValues - the values of the parametersQueryException - if anything goes wrong.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com