| |
|
| java.lang.Object org.apache.derby.jdbc.EmbedPooledConnection org.apache.derby.jdbc.EmbedXAConnection org.apache.derby.jdbc.EmbedXAConnection40
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 registeredwith this PooledConnection object since: 1.6
|
onStatementClose | public void onStatementClose(PreparedStatement statement)(Code) | | Raise the statementClosed event for all the listeners when the
corresponding events occurs
Parameters: statement - PreparedStatement |
onStatementErrorOccurred | public void onStatementErrorOccurred(PreparedStatement statement, SQLException sqle)(Code) | | Raise the statementErrorOccurred event for all the listeners when the
corresponding events occurs
Parameters: statement - PreparedStatement Parameters: sqle - SQLException |
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 previously registered with this PooledConnection object since: 1.6
|
|
|
|