org.apache.commons.dbcp
public class: DriverConnectionFactory [javadoc |
source]
java.lang.Object
org.apache.commons.dbcp.DriverConnectionFactory
All Implemented Interfaces:
ConnectionFactory
A
Driver -based implementation of
ConnectionFactory .
- author:
Rodney - Waldhoff
- version:
$ - Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $
| Field Summary |
|---|
| protected Driver | _driver | |
| protected String | _connectUri | |
| protected Properties | _props | |
| Method from org.apache.commons.dbcp.DriverConnectionFactory Detail: |
public Connection createConnection() throws SQLException {
return _driver.connect(_connectUri,_props);
}
|
public String toString() {
return this.getClass().getName() + " [" + String.valueOf(_driver) + ";" + String.valueOf(_connectUri) + ";" + String.valueOf(_props) + "]";
}
|