Purpose:Use this Connector to build a java.sql.Connection by directly instantiating the Driver, as opposed to using the DriverManager.
| Access | Constructor and Description |
|---|---|
| public | |
| public | DirectConnector(String driverClassName, String driverURLHeader, String databaseURL)
PUBLIC: Construct a Connector with the specified settings. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: booleanOverrides org. |
| DirectConnector | back to summary |
|---|---|
| public DirectConnector() PUBLIC: Construct a Connector with default settings (Sun JDBC-ODBC bridge). Although this does not really make sense for a "direct" Connector - the Sun JdbcOdbcDriver works fine with the DriverManager. | |
| DirectConnector | back to summary |
|---|---|
| public DirectConnector(String driverClassName, String driverURLHeader, String databaseURL) PUBLIC: Construct a Connector with the specified settings. | |
| shouldUseDriverManager | back to summary |
|---|---|
| public boolean shouldUseDriverManager(Properties properties, Session session) Overrides org. INTERNAL: Indicates whether DriverManager should be used.
| |