JavaTM 2 Platform
Standard Ed. 6

介面 javax.sql.PooledConnection
的使用

使用 PooledConnection 的軟體套件
javax.sql 為通過 JavaTM 程式語言進行伺服器端資料源存取和處理提供 API。 
 

javax.sql 中 PooledConnection 的使用
 

javax.sql 中 PooledConnection 的子介面
 interface XAConnection
          為分佈式事務提供支持的物件。
 

返回 PooledConnection 的 javax.sql 中的方法
 PooledConnection ConnectionPoolDataSource.getPooledConnection()
          嘗試建立可用作入池連接的物理資料庫連接。
 PooledConnection ConnectionPoolDataSource.getPooledConnection(String user, String password)
          嘗試建立可用作入池連接的物理資料庫連接。
 

參數型別為 PooledConnection 的 javax.sql 中的建構子
ConnectionEvent(PooledConnection con)
          建構一個 ConnectionEvent 物件,使用給定的 PooledConnection 物件進行初始化。
ConnectionEvent(PooledConnection con, SQLException ex)
          建構一個 ConnectionEvent 物件,使用給定的 PooledConnection 物件和 SQLException 物件進行初始化。
StatementEvent(PooledConnection con, PreparedStatement statement)
          用指定的 PooledConnection 和 PreparedStatement 建構 StatementEvent。
StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)
          用指定的 PooledConnection、PreparedStatement 和 SQLException 建構 StatementEvent。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。