Package | Description |
---|---|
com.holonplatform.jdbc |
Modifier and Type | Field and Description |
---|---|
static com.holonplatform.core.config.ConfigProperty<DatabasePlatform> |
DataSourceConfigProperties.PLATFORM
Database platform to use.
|
Modifier and Type | Method and Description |
---|---|
static DatabasePlatform |
DatabasePlatform.fromUrl(String jdbcUrl)
Try to guess DatabasePlatform from given JDBC connection url
|
default DatabasePlatform |
DataSourceConfigProperties.getDatabasePlatform()
Gets configured
DatabasePlatform or try to detect it from connection url, if available |
static DatabasePlatform |
DatabasePlatform.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabasePlatform[] |
DatabasePlatform.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DataSourceBuilder.Builder |
DataSourceBuilder.Builder.database(DatabasePlatform databasePlatform)
Set the database platform to which the DataSource is connected.
|
default BasicDataSource.Builder |
BasicDataSource.Builder.database(DatabasePlatform database)
Set the
DatabasePlatform from which to obtain the JDBC driver to use. |
Copyright © 2018 The Holon Platform. All rights reserved.