|
|
|
@ -206,7 +206,7 @@ public class FlywayAutoConfiguration {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Additional configuration to ensure that {@link JdbcOperations} beans depend-on
|
|
|
|
|
* Additional configuration to ensure that {@link JdbcOperations} beans depend on
|
|
|
|
|
* the {@code flywayInitializer} bean.
|
|
|
|
|
*/
|
|
|
|
|
@Configuration
|
|
|
|
@ -240,16 +240,16 @@ public class FlywayAutoConfiguration {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Additional configuration to ensure that {@link JdbcOperations} beans depend-on the
|
|
|
|
|
* Additional configuration to ensure that {@link JdbcOperations} beans depend on the
|
|
|
|
|
* {@code flyway} bean.
|
|
|
|
|
*/
|
|
|
|
|
@Configuration
|
|
|
|
|
@ConditionalOnClass(JdbcOperations.class)
|
|
|
|
|
@ConditionalOnBean(JdbcOperations.class)
|
|
|
|
|
protected static class FlywayJdbcDependencyConfiguration
|
|
|
|
|
protected static class FlywayJdbcOperationsDependencyConfiguration
|
|
|
|
|
extends JdbcOperationsDependsOnPostProcessor {
|
|
|
|
|
|
|
|
|
|
public FlywayJdbcDependencyConfiguration() {
|
|
|
|
|
public FlywayJdbcOperationsDependencyConfiguration() {
|
|
|
|
|
super("flyway");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|