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

## Uses of Class
javax.sql.StatementEvent

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

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

    Methods in javax.sql with parameters of type StatementEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | StatementEventListener.`statementClosed(StatementEvent event)` The driver calls this method on all `StatementEventListener`s registered on the connection when it detects that a `PreparedStatement` is closed.
    `void` | StatementEventListener.`statementErrorOccurred(StatementEvent event)` The driver calls this method on all `StatementEventListener`s registered on the connection when it detects that a `PreparedStatement` 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.