@Configuration(proxyBeanMethods=false)
@AutoConfigureAfter(value={R2dbcAutoConfiguration.class,DataSourceAutoConfiguration.class})
@EnableConfigurationProperties(value=SqlInitializationProperties.class)
@Import(value={DatabaseInitializationDependencyConfigurer.class,org.springframework.boot.autoconfigure.sql.init.R2dbcInitializationConfiguration.class,org.springframework.boot.autoconfigure.sql.init.DataSourceInitializationConfiguration.class})
@ConditionalOnProperty(prefix="spring.sql.init",
name="enabled",
matchIfMissing=true)
@Conditional(value=org.springframework.boot.autoconfigure.sql.init.SqlInitializationAutoConfiguration.SqlInitializationModeCondition.class)
public class SqlInitializationAutoConfiguration
extends Object
- Since:
- 2.5.0
- Author:
- Andy Wilkinson