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)
Deprecated.
since 2.7.15 for removal in 3.3.0 with no replacement
|
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 . |