public interface BrokeredStatementControl
Modifier and Type | Method and Description |
---|---|
int |
checkHoldCursors(int holdability)
Can cursors be held across commits.
|
void |
closeRealCallableStatement()
Close the real JDBC CallableStatement when this is controlling a
CallableStatement.
|
void |
closeRealPreparedStatement()
Close the real JDBC CallableStatement when this is controlling a
PreparedStatement.
|
void |
closeRealStatement()
Close the real JDBC Statement when this is controlling a Statement.
|
java.sql.CallableStatement |
getRealCallableStatement()
Return the real JDBC CallableStatement for the brokered statement
when this is controlling a CallableStatement.
|
java.sql.PreparedStatement |
getRealPreparedStatement()
Return the real JDBC PreparedStatement for the brokered statement
when this is controlling a PreparedStatement.
|
java.sql.Statement |
getRealStatement()
Return the real JDBC statement for the brokered statement
when this is controlling a Statement.
|
java.sql.ResultSet |
wrapResultSet(java.sql.Statement s,
java.sql.ResultSet rs)
Optionally wrap a returned ResultSet in another ResultSet.
|
int checkHoldCursors(int holdability) throws java.sql.SQLException
java.sql.SQLException
void closeRealStatement() throws java.sql.SQLException
java.sql.SQLException
void closeRealCallableStatement() throws java.sql.SQLException
java.sql.SQLException
void closeRealPreparedStatement() throws java.sql.SQLException
java.sql.SQLException
java.sql.Statement getRealStatement() throws java.sql.SQLException
java.sql.SQLException
java.sql.PreparedStatement getRealPreparedStatement() throws java.sql.SQLException
java.sql.SQLException
java.sql.CallableStatement getRealCallableStatement() throws java.sql.SQLException
java.sql.SQLException
java.sql.ResultSet wrapResultSet(java.sql.Statement s, java.sql.ResultSet rs)
s
- Statement that created the ResultSet.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.