@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=org.flywaydb.core.Flyway.class)
@Conditional(value=org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayDataSourceCondition.class)
@ConditionalOnProperty(prefix="spring.flyway",
name="enabled",
matchIfMissing=true)
@AutoConfigureAfter(value={DataSourceAutoConfiguration.class,JdbcTemplateAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@Import(value={org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayEntityManagerFactoryDependsOnPostProcessor.class,org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayJdbcOperationsDependsOnPostProcessor.class,FlywayAutoConfiguration.FlywayNamedParameterJdbcOperationsDependencyConfiguration.class})
public class FlywayAutoConfiguration
extends Object
- Since:
- 1.1.0
- Author:
- Dave Syer, Phillip Webb, Vedran Pavic, Stephane Nicoll, Jacques-Etienne Beaudet, Eddú Meléndez, Dominic Gunn, Dan Zheng, András Deák, Semyon Danilov