インタフェース
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
を構築します。