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, translateCommand
protected ResultSet results
protected Class<?>[] columnDataTypes
public JDBCQueryExecution(Command command, Connection connection, ExecutionContext context, JDBCExecutionFactory env)
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void close()
Execution
close
in interface Execution
close
in class JDBCBaseExecution
JDBCBaseExecution.close()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.