public abstract class JDBCConnection extends Object implements JDBCConstants
PARAM_PASSWORD, PARAM_USER
Constructor and Description |
---|
JDBCConnection() |
Modifier and Type | Method and Description |
---|---|
static Connection |
getConnection(ExportProvider jdbcExportProvider)
Get a connection to a database, as configured in the given export
provider.
|
static Connection |
getConnection(ImportProvider jdbcImportProvider)
Get a connection to a database, as configured in the given import
provider.
|
static Connection |
getConnection(URI jdbcUri,
String user,
String password)
Get a connection to a database.
|
public static Connection getConnection(URI jdbcUri, String user, String password) throws SQLException
jdbcUri
- the JDBC URI to access the databaseuser
- the user namepassword
- the passwordSQLException
- if establishing the connection failspublic static Connection getConnection(ImportProvider jdbcImportProvider) throws SQLException
jdbcImportProvider
- the import providerSQLException
- if establishing the connection failspublic static Connection getConnection(ExportProvider jdbcExportProvider) throws SQLException
jdbcExportProvider
- the export providerSQLException
- if establishing the connection failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a