public class JDBCQueryExecution extends JDBCBaseExecution implements ResultSetExecution
| Modifier and Type | Field and Description |
|---|---|
protected Class<?>[] |
columnDataTypes |
protected ResultSet |
results |
command, connection, context, executionFactory, fetchSize, statement, trimString| Constructor and Description |
|---|
JDBCQueryExecution(Command command,
Connection connection,
ExecutionContext context,
JDBCExecutionFactory env) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
addStatementWarnings, bind, cancel, getCallableStatement, getConnection, getPreparedStatement, getStatement, setSizeContraints, translateCommandprotected ResultSet results
protected Class<?>[] columnDataTypes
public JDBCQueryExecution(Command command, Connection connection, ExecutionContext context, JDBCExecutionFactory env)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void close()
Executionclose in interface Executionclose in class JDBCBaseExecutionJDBCBaseExecution.close()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.