public interface ResultSetReturn
| 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 
 | 
ResultSet extract(PreparedStatement statement)
CallableStatement reference, this method calls extract(CallableStatement)
 internally.  Otherwise, generally speaking, PreparedStatement.executeQuery() is calledstatement - The PreparedStatement from which to extract the ResultSetResultSet extract(CallableStatement callableStatement)
Dialect.getResultSet(java.sql.CallableStatement).  Better option is to integrate
 ProcedureCall-like hookscallableStatement - The CallableStatement from which to extract the ResultSetResultSet extract(Statement statement, String sql)
statement - The JDBC Statement object to usesql - The SQL to executeResultSet execute(PreparedStatement statement)
nullstatement - The PreparedStatement to executenullResultSet execute(Statement statement, String sql)
nullstatement - The JDBC Statement object to usesql - The SQL to executenullint executeUpdate(PreparedStatement statement)
statement - The PreparedStatement to executePreparedStatement.executeUpdate() resultint executeUpdate(Statement statement, String sql)
statement - The JDBC Statement object to usesql - The SQL to executeStatement.executeUpdate(String) resultCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.