|
Préférences
Moteurs de recherche
|
|||||||
JavaTM 2 Platform Std. Ed. v1.5.0
javax.sql
|
Method Summary | |
---|---|
void |
connectionClosed(ConnectionEvent event)
Notifies this ConnectionEventListener that
the application has called the method close on its
representation of a pooled connection. |
void |
connectionErrorOccurred(ConnectionEvent event)
Notifies this ConnectionEventListener that
a fatal error has occurred and the pooled connection can
no longer be used. |
Method Detail |
---|
void connectionClosed(ConnectionEvent event)
ConnectionEventListener
that
the application has called the method close
on its
representation of a pooled connection.
event
- an event object describing the source of
the eventvoid connectionErrorOccurred(ConnectionEvent event)
ConnectionEventListener
that
a fatal error has occurred and the pooled connection can
no longer be used. The driver makes this notification just
before it throws the application the SQLException
contained in the given ConnectionEvent
object.
event
- an event object describing the source of
the event and containing the SQLException
that the
driver is about to throw