| Package | Description | 
|---|---|
| javax.sql | Provides the API for server side data source access and processing from
the JavaTM programming language. | 
| Modifier and Type | Interface | Description | 
|---|---|---|
| interface  | XAConnection An object that provides support for distributed
 transactions. | 
| Modifier and Type | Method | 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. | 
| Constructor | Description | 
|---|---|
| ConnectionEvent (PooledConnection con)Constructs a  ConnectionEventobject initialized with
 the givenPooledConnectionobject. | |
| ConnectionEvent (PooledConnection con,
 SQLException ex)Constructs a  ConnectionEventobject initialized with
 the givenPooledConnectionobject andSQLExceptionobject. | |
| StatementEvent (PooledConnection con,
 PreparedStatement statement)Constructs a  StatementEventwith the specifiedPooledConnectionandPreparedStatement. | |
| StatementEvent (PooledConnection con,
 PreparedStatement statement,
 SQLException exception)Constructs a  StatementEventwith the specifiedPooledConnection,PreparedStatementandSQLException | 
 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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.