public interface StatementEventListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
statementClosed(StatementEvent event)
The driver calls this method on all StatementEventListeners registered on
the connection when it detects that a PreparedStatement is closed.
|
void |
statementErrorOccurred(StatementEvent event)
The driver calls this method on all StatementEventListeners registered on
the connection when it detects that a PreparedStatement is invalid,
before a SQLException is thrown
|
void statementClosed(StatementEvent event)
event - an StatementEvent object describing the event of statement
closedvoid statementErrorOccurred(StatementEvent event)
event - an StatementEvent object describing the event of statement
error occurred