jdk/src/share/classes/javax/sql/ConnectionPoolDataSource.java
changeset 14014 da3648e13e67
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
14013:10f55dd791e1 14014:da3648e13e67
    46    *
    46    *
    47    * @return  a <code>PooledConnection</code> object that is a physical
    47    * @return  a <code>PooledConnection</code> object that is a physical
    48    *         connection to the database that this
    48    *         connection to the database that this
    49    *         <code>ConnectionPoolDataSource</code> object represents
    49    *         <code>ConnectionPoolDataSource</code> object represents
    50    * @exception SQLException if a database access error occurs
    50    * @exception SQLException if a database access error occurs
    51    * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
    51    * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
    52    * this method
    52    * this method
    53    * @since 1.4
    53    * @since 1.4
    54    */
    54    */
    55   PooledConnection getPooledConnection() throws SQLException;
    55   PooledConnection getPooledConnection() throws SQLException;
    56 
    56 
    62    * @param password the user's password
    62    * @param password the user's password
    63    * @return  a <code>PooledConnection</code> object that is a physical
    63    * @return  a <code>PooledConnection</code> object that is a physical
    64    *         connection to the database that this
    64    *         connection to the database that this
    65    *         <code>ConnectionPoolDataSource</code> object represents
    65    *         <code>ConnectionPoolDataSource</code> object represents
    66    * @exception SQLException if a database access error occurs
    66    * @exception SQLException if a database access error occurs
    67    * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
    67    * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
    68    * this method
    68    * this method
    69    * @since 1.4
    69    * @since 1.4
    70    */
    70    */
    71   PooledConnection getPooledConnection(String user, String password)
    71   PooledConnection getPooledConnection(String user, String password)
    72     throws SQLException;
    72     throws SQLException;