| javax.sql.ConnectionPoolDataSource |
An interface for the creation of ConnectionPoolDataSource objects.
Used internally within the package.
A class which implements the ConnectionPoolDataSource interface is
typically registered with a JNDI naming service directory and is retrieved
from there by name.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a connection to a database which can then be used as a pooled
connection.
| |||||||||||
Creates a connection to a database, using the supplied user name and
password, which can then be used as a pooled connection.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface javax.sql.CommonDataSource
| |||||||||||
Creates a connection to a database which can then be used as a pooled connection.
PooledConnection which represents the connection to the
database.| SQLException | if there is a problem accessing the database. |
|---|
Creates a connection to a database, using the supplied user name and password, which can then be used as a pooled connection.
| theUser | the a user name for the database login. |
|---|---|
| thePassword | the password associated with the user identified by theUser. |
PooledConnection object which represents the connection
to the database.| SQLException | if there is a problem accessing the database. |
|---|