public interface IDatabaseDriverManager
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
This method will close all open Connection Pools that have been cached inside the DatabaseDriver.
|
java.sql.Connection |
getConnection(java.lang.String astrDatasourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString)
This method allows the user to get a Connection to a Database.
|
java.sql.Connection |
getConnection(java.lang.String astrDatasourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString,
boolean abUseKerberos)
This method allows the user to get a Connection to a Database.
|
java.sql.Connection |
getConnection(java.lang.String astrDataSourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString,
java.lang.String astrUsername,
java.lang.String astrPassword)
This method allows the user to get a Connection to a Database.
|
java.sql.Connection |
getConnectionREST(java.lang.String astrDataSourceName,
java.lang.String astrDriver,
java.lang.String astrConnectionString,
java.lang.String astrUsername,
java.lang.String astrPassword)
This method allows the user to get a Connection to a Database.
|
java.sql.Connection getConnection(java.lang.String astrDataSourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString,
java.lang.String astrUsername,
java.lang.String astrPassword)
throws java.lang.Exception
getConnection(String,String,String) with the exception that this method
uses the supplied username and password arguments to authenticate.astrDataSourceName - String A logical name that can be used to lookup a cached DataSource.astrDriver - String A fully qualified Driver Class name or a DataDirect Database Driver ID.astrUrl - String The URL to be used to connect to the desired Database.astrUsername - String The username to be used to connect to the Database.astrPassword - String The password to be used to connect to the Database.java.lang.Exception - Exceptions can be thrown due to invalid arguments, license restrictions, or issues connecting to the Database.java.sql.Connection getConnection(java.lang.String astrDatasourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString,
boolean abUseKerberos)
throws java.lang.Exception
getConnection(String,String,String,String,String) with the exception that this method
supports kerberos authentication.astrDatasourceName - String A logical name that can be used to lookup a cached DataSource.astrDriverId - String A fully qualified Driver Class name or a DataDirect Database Driver ID.astrConnectionString - abUseKerberos - if set to true this method will attempt to use kerberos authentication, if set to false no authentication will be attempted.java.lang.Exceptionjava.sql.Connection getConnectionREST(java.lang.String astrDataSourceName,
java.lang.String astrDriver,
java.lang.String astrConnectionString,
java.lang.String astrUsername,
java.lang.String astrPassword)
throws java.lang.Exception
getConnection(String,String,String) with the exception that this method
uses the supplied username and password arguments to authenticate.astrDataSourceName - String A logical name that can be used to lookup a cached DataSource.astrDriver - String A fully qualified Driver Class name or a DataDirect Database Driver ID.astrConnectionString - String The URL to be used to connect to the desired Database.astrUsername - String The username to be used to connect to the Database.astrPassword - String The password to be used to connect to the Database.java.lang.Exception - Exceptions can be thrown due to invalid arguments, license restrictions, or issues connecting to the Database.java.sql.Connection getConnection(java.lang.String astrDatasourceName,
java.lang.String astrDriverId,
java.lang.String astrConnectionString)
throws java.lang.Exception
getConnection(String,String,String,String,String) with the exception that this method
does not use the normal JDBC authentication methods.astrDatasourceName - String A logical name that can be used to lookup a cached DataSource.astrDriverId - String A fully qualified Driver Class name or a DataDirect Database Driver ID.astrConnectionString - java.lang.Exceptionvoid clear()
Copyright © 2005-2020 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.