Package | Description |
---|---|
org.springframework.boot.jdbc |
Support for Java Database Connectivity (JDBC).
|
org.springframework.boot.jdbc.init |
Support for initialization of an SQL database using a JDBC
DataSource . |
Modifier and Type | Method and Description |
---|---|
static DatabaseDriver |
DatabaseDriver.fromDataSource(DataSource dataSource)
Find a
DatabaseDriver for the given DataSource . |
static DatabaseDriver |
DatabaseDriver.fromJdbcUrl(String url)
Find a
DatabaseDriver for the given URL. |
static DatabaseDriver |
DatabaseDriver.fromProductName(String productName)
Find a
DatabaseDriver for the given product name. |
static DatabaseDriver |
DatabaseDriver.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseDriver[] |
DatabaseDriver.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
PlatformPlaceholderDatabaseDriverResolver |
PlatformPlaceholderDatabaseDriverResolver.withDriverPlatform(DatabaseDriver driver,
String platform)
Creates a new
PlatformPlaceholderDatabaseDriverResolver that will map the
given driver to the given platform . |