|
Préférences
Moteurs de recherche
|
|||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
javax.sql
|
||||||||
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void statementClosed(StatementEvent event)
StatementEventListeners registered on the connection when it detects that a
PreparedStatement is closed.
event - an event object describing the source of
the event and that the PreparedStatement was closed.void statementErrorOccurred(StatementEvent event)
StatementEventListeners
registered on the connection when it detects that a
PreparedStatement is invalid. The driver calls this method
just before it throws the SQLException,
contained in the given event, to the application.
event - an event object describing the source of the event,
the statement that is invalid and the exception the
driver is about to throw. The source of the event is
the PooledConnection which the invalid PreparedStatement
is associated with.