javax.sql.StatementEventListener |
An object that registers to be notified of events that occur on PreparedStatements that are in the Statement pool.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
The driver calls this method on all StatementEventListeners registered on
the connection when it detects that a PreparedStatement is closed.
|
||||||||||
|
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
|
The driver calls this method on all StatementEventListeners registered on the connection when it detects that a PreparedStatement is closed.
event | an StatementEvent object describing the event of statement closed |
---|
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
event | an StatementEvent object describing the event of statement error occurred |
---|