public class DriverManagerConnectionFactory extends java.lang.Object implements ConnectionFactory
DriverManager-based implementation of ConnectionFactory.| Constructor and Description |
|---|
DriverManagerConnectionFactory(java.lang.String connectUri,
java.util.Properties props) |
DriverManagerConnectionFactory(java.lang.String connectUri,
java.lang.String uname,
java.lang.String passwd) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
createConnection()
Create a new
Connection in an
implementation specific fashion. |
public DriverManagerConnectionFactory(java.lang.String connectUri,
java.util.Properties props)
public DriverManagerConnectionFactory(java.lang.String connectUri,
java.lang.String uname,
java.lang.String passwd)
public java.sql.Connection createConnection()
throws java.sql.SQLException
ConnectionFactoryConnection in an
implementation specific fashion.createConnection in interface ConnectionFactoryConnectionjava.sql.SQLExceptionCopyright © 2001-2003 Apache Software Foundation. Documenation generated May 14 2016.