public class DatabaseModuleConfigUtils extends Object
database.DatabaseModule and
related modules| Modifier and Type | Field and Description |
|---|---|
static String |
PROPKEY_DATABASE_DIALECT
Property key of the SQL dialect of the underlying DBMS implementation
|
| Constructor and Description |
|---|
DatabaseModuleConfigUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends DatabaseAccessing> |
getConfiguredDatabaseTaskInstance(Class<T> databaseTaskType,
Properties configuration,
SQLHandler sqlHandler,
String dialect,
List<String> schemaNames)
Retrieves the concrete instance of the class with the given type as configured by the given
Configuration. |
public static final String PROPKEY_DATABASE_DIALECT
public static <T extends DatabaseAccessing> T getConfiguredDatabaseTaskInstance(Class<T> databaseTaskType, Properties configuration, SQLHandler sqlHandler, String dialect, List<String> schemaNames)
Configuration.
The concrete instance must extend the class DatabaseAccessing.T - The type of the DatabaseTaskdatabaseTaskType - The type of the DatabaseTask, not nullconfiguration - The config, not nullsqlHandler - The sql handler, not nullCopyright © 2017. All rights reserved.