Uses of Interface javax.sql.StatementEventListener (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
javax.sql.StatementEventListener

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

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

    Methods in javax.sql with parameters of type StatementEventListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | PooledConnection.`addStatementEventListener(StatementEventListener listener)` Registers a `StatementEventListener` with this `PooledConnection` object.
    `void` | PooledConnection.`removeStatementEventListener(StatementEventListener listener)` Removes the specified `StatementEventListener` from the list of components that will be notified when the driver detects that a `PreparedStatement` has been closed or is invalid.

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.