public final class DefaultConnectionFactory extends Object implements ConnectionFactory
ConnectionFactory
that uses
the JDBC DriverManager
for creating connections.Constructor and Description |
---|
DefaultConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
Connection |
createConnection(ConnectionSettings settings)
Create a new JDBC connection.
|
static DriverProvider |
getDriverProvider()
Gets the driver provider to use.
|
static void |
setDriverProvider(DriverProvider driver)
Sets the driver provider to use.
|
public static void setDriverProvider(DriverProvider driver)
driver
- the driver provider.public static DriverProvider getDriverProvider()
public Connection createConnection(ConnectionSettings settings)
ConnectionFactory
createConnection
in interface ConnectionFactory
settings
- the connection settingsCopyright © 2020 Actian Corporation. All rights reserved.