public class ResultSetReturnImpl extends Object implements ResultSetReturn
| Constructor and Description | 
|---|
ResultSetReturnImpl(JdbcCoordinator jdbcCoordinator)
Constructs a ResultSetReturnImpl 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ResultSet | 
execute(PreparedStatement statement)
Execute the PreparedStatement return its first ResultSet, if any. 
 | 
ResultSet | 
execute(Statement statement,
       String sql)
Performs the given SQL statement, returning its first ResultSet, if any. 
 | 
int | 
executeUpdate(PreparedStatement statement)
Execute the PreparedStatement, returning its "affected row count". 
 | 
int | 
executeUpdate(Statement statement,
             String sql)
Execute the given SQL statement returning its "affected row count". 
 | 
ResultSet | 
extract(CallableStatement callableStatement)
Extract the ResultSet from the CallableStatement. 
 | 
ResultSet | 
extract(PreparedStatement statement)
Extract the ResultSet from the PreparedStatement. 
 | 
ResultSet | 
extract(Statement statement,
       String sql)
Performs the given SQL statement, expecting a ResultSet in return 
 | 
public ResultSetReturnImpl(JdbcCoordinator jdbcCoordinator)
jdbcCoordinator - The JdbcCoordinatorpublic ResultSet extract(PreparedStatement statement)
ResultSetReturnCallableStatement reference, this method calls ResultSetReturn.extract(CallableStatement)
 internally.  Otherwise, generally speaking, PreparedStatement.executeQuery() is calledextract in interface ResultSetReturnstatement - The PreparedStatement from which to extract the ResultSetpublic ResultSet extract(CallableStatement callableStatement)
ResultSetReturnDialect.getResultSet(java.sql.CallableStatement).  Better option is to integrate
 ProcedureCall-like hooksextract in interface ResultSetReturncallableStatement - The CallableStatement from which to extract the ResultSetpublic ResultSet extract(Statement statement, String sql)
ResultSetReturnextract in interface ResultSetReturnstatement - The JDBC Statement object to usesql - The SQL to executepublic ResultSet execute(PreparedStatement statement)
ResultSetReturnnullexecute in interface ResultSetReturnstatement - The PreparedStatement to executenullpublic ResultSet execute(Statement statement, String sql)
ResultSetReturnnullexecute in interface ResultSetReturnstatement - The JDBC Statement object to usesql - The SQL to executenullpublic int executeUpdate(PreparedStatement statement)
ResultSetReturnexecuteUpdate in interface ResultSetReturnstatement - The PreparedStatement to executePreparedStatement.executeUpdate() resultpublic int executeUpdate(Statement statement, String sql)
ResultSetReturnexecuteUpdate in interface ResultSetReturnstatement - The JDBC Statement object to usesql - The SQL to executeStatement.executeUpdate(String) resultCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.