|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPooledDataSourceFactory
| Method Summary | |
|---|---|
javax.sql.DataSource |
createPooledDataSource(java.lang.String driverClassName,
java.lang.String userName,
java.lang.String password,
java.lang.String url)
Creates a DataSource that is backed by a connection pool. |
| Method Detail |
|---|
javax.sql.DataSource createPooledDataSource(java.lang.String driverClassName,
java.lang.String userName,
java.lang.String password,
java.lang.String url)
DataSource that is backed by a connection pool.
driverClassName - The class name of the jdbc driver to use.userName - The username to connect to the database with.password - The password to connect to the database with.url - The url to locate the database with.maxActive - Maximum number of dB connections in pool. Set to 0 for no limit.maxIdle - Maximum number of idle dB connections to retain in pool. Set to 0 for no limit.maxWait - Maximum time to wait for a dB connection to become available in ms, in this example 10 seconds. Set to -1 to wait indefinitely.
DataSource that is backed by a connection pool.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||