| java.lang.Object org.apache.derby.client.ClientPooledConnection org.apache.derby.client.ClientXAConnection org.apache.derby.client.ClientXAConnection40
ClientXAConnection40 | public class ClientXAConnection40 extends ClientXAConnection (Code) | | jdbc4.0 implementation of XAConnection
|
addStatementEventListener | public void addStatementEventListener(StatementEventListener listener)(Code) | | Registers a StatementEventListener with this PooledConnection object. Components that
wish to be notified when PreparedStatement s created by the
connection are closed or are detected to be invalid may use this method
to register a StatementEventListener with this PooledConnection object.
Parameters: listener - an component which implements the StatementEventListener interface that is to be registered with this PooledConnection object |
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 StatementEventListener from the list of
components that will be notified when the driver detects that a
PreparedStatement has been closed or is invalid.
Parameters: listener - the component which implements theStatementEventListener interface that was previouslyregistered with this PooledConnection object |
|
|