public interface IDatabaseDriverManager
Modifier and Type | Method and Description |
---|---|
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 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
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.Copyright © 2005-2018 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.