@AutoConfiguration(before=SqlInitializationAutoConfiguration.class) @ConditionalOnClass(value={javax.sql.DataSource.class,org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType.class}) @ConditionalOnMissingBean(type="io.r2dbc.spi.ConnectionFactory") @EnableConfigurationProperties(value=DataSourceProperties.class) @Import(value=DataSourcePoolMetadataProvidersConfiguration.class) public class DataSourceAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DataSourceAutoConfiguration.EmbeddedDatabaseConfiguration |
protected static class |
DataSourceAutoConfiguration.PooledDataSourceConfiguration |
Constructor and Description |
---|
DataSourceAutoConfiguration() |