@ -30,6 +30,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean ;
import org.springframework.boot.autoconfigure.condition.SpringBootCondition ;
import org.springframework.boot.autoconfigure.condition.SpringBootCondition ;
import org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.Registrar ;
import org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.Registrar ;
import org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvidersConfiguration ;
import org.springframework.boot.context.properties.ConfigurationProperties ;
import org.springframework.boot.context.properties.ConfigurationProperties ;
import org.springframework.boot.context.properties.EnableConfigurationProperties ;
import org.springframework.boot.context.properties.EnableConfigurationProperties ;
import org.springframework.context.annotation.Bean ;
import org.springframework.context.annotation.Bean ;
@ -54,7 +55,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
@Configuration
@Configuration
@ConditionalOnClass ( { DataSource . class , EmbeddedDatabaseType . class } )
@ConditionalOnClass ( { DataSource . class , EmbeddedDatabaseType . class } )
@EnableConfigurationProperties ( DataSourceProperties . class )
@EnableConfigurationProperties ( DataSourceProperties . class )
@Import ( Registrar . class )
@Import ( { Registrar . class , DataSourcePoolMetadataProvidersConfiguration . class } )
public class DataSourceAutoConfiguration {
public class DataSourceAutoConfiguration {
/ * *
/ * *