src/share/classes/javax/sql/ConnectionPoolDataSource.java

Print this page

        

*** 46,56 **** * * @return a <code>PooledConnection</code> object that is a physical * connection to the database that this * <code>ConnectionPoolDataSource</code> object represents * @exception SQLException if a database access error occurs ! * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ PooledConnection getPooledConnection() throws SQLException; --- 46,56 ---- * * @return a <code>PooledConnection</code> object that is a physical * connection to the database that this * <code>ConnectionPoolDataSource</code> object represents * @exception SQLException if a database access error occurs ! * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ PooledConnection getPooledConnection() throws SQLException;
*** 62,72 **** * @param password the user's password * @return a <code>PooledConnection</code> object that is a physical * connection to the database that this * <code>ConnectionPoolDataSource</code> object represents * @exception SQLException if a database access error occurs ! * @exception SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ PooledConnection getPooledConnection(String user, String password) throws SQLException; --- 62,72 ---- * @param password the user's password * @return a <code>PooledConnection</code> object that is a physical * connection to the database that this * <code>ConnectionPoolDataSource</code> object represents * @exception SQLException if a database access error occurs ! * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support * this method * @since 1.4 */ PooledConnection getPooledConnection(String user, String password) throws SQLException;