Uses of Interface javax.sql.PooledConnection (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Interface
javax.sql.PooledConnection

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

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

    Subinterfaces of PooledConnection in javax.sql
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `XAConnection` An object that provides support for distributed transactions.

    Methods in javax.sql that return PooledConnection
    Modifier and Type | Method and Description
    --- | ---
    `PooledConnection` | ConnectionPoolDataSource.`getPooledConnection()` Attempts to establish a physical database connection that can be used as a pooled connection.
    `PooledConnection` | ConnectionPoolDataSource.`getPooledConnection(String user, String password)` Attempts to establish a physical database connection that can be used as a pooled connection.

    Constructors in javax.sql with parameters of type PooledConnection
    Constructor and Description
    `ConnectionEvent(PooledConnection con)` Constructs a `ConnectionEvent` object initialized with the given `PooledConnection` object.
    `ConnectionEvent(PooledConnection con, SQLException ex)` Constructs a `ConnectionEvent` object initialized with the given `PooledConnection` object and `SQLException` object.
    `StatementEvent(PooledConnection con, PreparedStatement statement)` Constructs a `StatementEvent` with the specified `PooledConnection` and `PreparedStatement`.
    `StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)` Constructs a `StatementEvent` with the specified `PooledConnection`, `PreparedStatement` and `SQLException`

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.