javax.sql.ConnectionPoolDataSource is the connection pool interface of data sources.
Description
A factory for PooledConnection objects. Objects that implement this interface are typically registered with a naming service that is based on Java Naming and Directory Interface (JNDI).
Methods
| Method | Return type | Whether JDBC 4 is supported in Oracle mode | Whether JDBC 4 is supported in MySQL mode |
|---|---|---|---|
| getPooledConnection() | PooledConnection | Yes | Yes |
| getPooledConnection(String user,String password) | PooledConnection | Yes | Yes |