Redigera

Dela via


getPooledConnection Method (java.lang.String, java.lang.String)

Download JDBC driver

Tries to establish a physical database connection that can be used as a pooled connection based on the given user name and password.

Syntax

  
public javax.sql.PooledConnection getPooledConnection(java.lang.String user,  
                                                      java.lang.String password)  

Parameters

user

A String that contains the user name.

password

A String that contains the password.

Return Value

A SQLServerPooledConnection object.

Exceptions

java.sql.SQLException

Remarks

This getPooledConnection method is specified by the getPooledConnection method in the javax.sql.ConnectionPoolDataSource interface.

See Also

getPooledConnection
SQLServerConnectionPoolDataSource Methods
SQLServerConnectionPoolDataSource Members
SQLServerConnectionPoolDataSource Class