public class SimpleQueryExecutor
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
class |
SimpleQueryExecutor.SimpleQueryResults |
| Constructor | Description |
|---|---|
SimpleQueryExecutor(Database database) |
Creates an instance to execute a simple query.
|
| Modifier and Type | Method | 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