Package | Description |
---|---|
org.springframework.boot.autoconfigure.jdbc |
Auto-configuration for JDBC.
|
org.springframework.boot.jdbc |
Support for Java Database Connectivity (JDBC).
|
Modifier and Type | Method and Description |
---|---|
DataSourceBuilder<?> |
DataSourceProperties.initializeDataSourceBuilder()
Initialize a
DataSourceBuilder with the state of this instance. |
Modifier and Type | Method and Description |
---|---|
static DataSourceBuilder<?> |
DataSourceBuilder.create()
Create a new
DataSourceBuilder instance. |
static DataSourceBuilder<?> |
DataSourceBuilder.create(ClassLoader classLoader)
Create a new
DataSourceBuilder instance. |
static DataSourceBuilder<?> |
DataSourceBuilder.derivedFrom(DataSource dataSource)
Create a new
DataSourceBuilder instance derived from the specified data
source. |
DataSourceBuilder<T> |
DataSourceBuilder.driverClassName(String driverClassName)
Set the driver class name that should be used when building the datasource.
|
DataSourceBuilder<T> |
DataSourceBuilder.password(String password)
Set the password that should be used when building the datasource.
|
<D extends DataSource> |
DataSourceBuilder.type(Class<D> type)
Set the
DataSource type that should be built. |
DataSourceBuilder<T> |
DataSourceBuilder.url(String url)
Set the URL that should be used when building the datasource.
|
DataSourceBuilder<T> |
DataSourceBuilder.username(String username)
Set the username that should be used when building the datasource.
|