インタフェース
javax.sql.PooledConnectionの使用
| パッケージ | 説明 |
|---|---|
| javax.sql |
Java™プログラミング言語によるサーバー側のデータ・ソースへのアクセスと処理のためのAPIを提供します。
|
-
javax.sqlでのPooledConnectionの使用
javax.sql内のPooledConnectionのサブインタフェース 修飾子と型 インタフェース 説明 interfaceXAConnection分散トランザクションをサポートするオブジェクトです。PooledConnectionを返すjavax.sql内のメソッド 修飾子と型 メソッド 説明 PooledConnectionPooledConnectionBuilder. build()このBuilderによって定義されたオブジェクトのインスタンスを返します。PooledConnectionConnectionPoolDataSource. getPooledConnection()プールされた接続として使用可能な、データベースへの物理接続の確立を試みます。PooledConnectionConnectionPoolDataSource. getPooledConnection(String user, String password)プールされた接続として使用可能な、データベースへの物理接続の確立を試みます。PooledConnection型のパラメータを持つjavax.sql内のコンストラクタ コンストラクタ 説明 ConnectionEvent(PooledConnection con)指定されたPooledConnectionオブジェクトで初期化されたConnectionEventオブジェクトを構築します。ConnectionEvent(PooledConnection con, SQLException ex)指定したPooledConnectionオブジェクトとSQLExceptionオブジェクトによって初期化されたConnectionEventオブジェクトを構築します。StatementEvent(PooledConnection con, PreparedStatement statement)指定されたPooledConnectionとPreparedStatementを持つStatementEventを構築します。StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)指定されたPooledConnection、PreparedStatement、およびSQLExceptionを持つStatementEventを構築します。