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
ConnectionFactory
Connection
in an
implementation specific fashion.createConnection
in interface ConnectionFactory
Connection
java.sql.SQLException
Copyright © 2001-2003 Apache Software Foundation. Documenation generated March 9 2018.