public class GenericConnectionProvider extends DbConnectionProvider
ConnectionProvider that creates connections for any kind of database using a JDBC URL and the required JDBC Driver
Class. Consumers of GenericConnectionProvider must create a class similar to this one with the appropriate annotations
(DisplayName, Alias, ExternalLib, ParameterGroup, others), and have an instance of this one to pass the required properties.DRIVER_FILE_NAME_PATTERN| Constructor and Description |
|---|
GenericConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
Optional<DataSource> |
getDataSource() |
Optional<DataSourceConfig> |
getDataSourceConfig() |
connect, createDbConnection, createJdbcConnectionFactory, disconnect, dispose, getConfiguredDataSource, getDbVendorErrorType, initialise, resolveCustomTypes, validatepublic Optional<DataSource> getDataSource()
getDataSource in class DbConnectionProviderpublic Optional<DataSourceConfig> getDataSourceConfig()
getDataSourceConfig in class DbConnectionProviderCopyright © 2022. All rights reserved.