|
|
|
@ -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. |
|
|
|
* the {@code flywayInitializer} bean. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@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. |
|
|
|
* {@code flyway} bean. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
@ConditionalOnClass(JdbcOperations.class) |
|
|
|
@ConditionalOnClass(JdbcOperations.class) |
|
|
|
@ConditionalOnBean(JdbcOperations.class) |
|
|
|
@ConditionalOnBean(JdbcOperations.class) |
|
|
|
protected static class FlywayJdbcDependencyConfiguration |
|
|
|
protected static class FlywayJdbcOperationsDependencyConfiguration |
|
|
|
extends JdbcOperationsDependsOnPostProcessor { |
|
|
|
extends JdbcOperationsDependsOnPostProcessor { |
|
|
|
|
|
|
|
|
|
|
|
public FlywayJdbcDependencyConfiguration() { |
|
|
|
public FlywayJdbcOperationsDependencyConfiguration() { |
|
|
|
super("flyway"); |
|
|
|
super("flyway"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|