インタフェース
javax.sql.PooledConnectionの使用
PooledConnectionを使用するパッケージ
-
javax.sqlでのPooledConnectionの使用
javax.sql内のPooledConnectionのサブインタフェースPooledConnectionを返すjavax.sqlのメソッド修飾子と型メソッド説明PooledConnectionBuilder.build()このビルダーによって定義されたオブジェクトのインスタンスを返します。ConnectionPoolDataSource.getPooledConnection()プールされた接続として使用可能な、データベースへの物理接続の確立を試みます。ConnectionPoolDataSource.getPooledConnection(String user, String password) プールされた接続として使用可能な、データベースへの物理接続の確立を試みます。型PooledConnectionのパラメータを持つjavax.sqlのコンストラクタ修飾子コンストラクタ説明指定された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を構築します。