## Uses of Class
javax.sql.ConnectionEvent

- Packages that use ConnectionEvent
  Package | Description
  --- | ---
  javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language.

- - ### Uses of ConnectionEvent in javax.sql

    Methods in javax.sql with parameters of type ConnectionEvent
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ConnectionEventListener.`connectionClosed(ConnectionEvent event)` Notifies this `ConnectionEventListener` that the application has called the method `close` on its representation of a pooled connection.
    `void` | ConnectionEventListener.`connectionErrorOccurred(ConnectionEvent event)` Notifies this `ConnectionEventListener` that a fatal error has occurred and the pooled connection can no longer be used.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.