Package org.apache.commons.dbcp
Class DriverConnectionFactory
java.lang.Object
org.apache.commons.dbcp.DriverConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
A
Driver
-based implementation of ConnectionFactory
.- Version:
- $Revision: 479137 $ $Date: 2006-11-25 10:51:48 -0500 (Sat, 25 Nov 2006) $
- Author:
- Rodney Waldhoff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a newConnection
in an implementation specific fashion.toString()
-
Constructor Details
-
DriverConnectionFactory
-
-
Method Details
-
createConnection
Description copied from interface:ConnectionFactory
Create a newConnection
in an implementation specific fashion.- Specified by:
createConnection
in interfaceConnectionFactory
- Returns:
- a new
Connection
- Throws:
SQLException
- if a database error occurs creating the connection
-
toString
-