| java.lang.Object org.apache.derby.client.ClientPooledConnection org.apache.derby.client.ClientPooledConnection40
ClientPooledConnection40 | public class ClientPooledConnection40 extends ClientPooledConnection (Code) | | The class extends from the ClientPooledConnection class
and contains implementations for the JDBC 4.0 specific
methods in the javax.sql.PooledConnection interface.
|
addStatementEventListener | public void addStatementEventListener(StatementEventListener listener)(Code) | | Registers a StatementEventListener with this PooledConnection object.
Components that wish to be informed of events associated with the
PreparedStatement object created by this PooledConnection like the close
or error occurred event can register a StatementEventListener with this
PooledConnection object.
Parameters: listener - A component that implements the StatementEventListenerinterface and wants to be notified of Statement closed or or Statement error occurred events |
onStatementClose | public void onStatementClose(PreparedStatement statement)(Code) | | Raise the statementClosed event for all the listeners when the
corresponding events occurs.
Parameters: statement - The PreparedStatement that was closed |
onStatementErrorOccurred | public void onStatementErrorOccurred(PreparedStatement statement, SQLException sqle)(Code) | | Raise the statementErrorOccurred event for all the listeners when the
corresponding events occurs.
Parameters: statement - The PreparedStatement on which error occurred Parameters: sqle - The SQLException associated with the error thatcaused the invalidation of the PreparedStatements |
removeStatementEventListener | public void removeStatementEventListener(StatementEventListener listener)(Code) | | Removes the specified previously registered listener object from the list
of components that would be informed of events with a PreparedStatement
object.
Parameters: listener - The previously registered event listener that needs to beremoved from the list of components |
|
|