@Configuration(proxyBeanMethods=false)
@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,org.springframework.boot.autoconfigure.jdbc.DataSourceInitializationConfiguration.InitializationSpecificCredentialsDataSourceInitializationConfiguration.class,org.springframework.boot.autoconfigure.jdbc.DataSourceInitializationConfiguration.SharedCredentialsDataSourceInitializationConfiguration.class})
public class DataSourceAutoConfiguration
extends Object
- Since:
- 1.0.0
- Author:
- Dave Syer, Phillip Webb, Stephane Nicoll, Kazuki Shimizu