Annotation Interface FlywayDataSource


@Target({METHOD,FIELD,PARAMETER,TYPE}) @Retention(RUNTIME) @Documented @Qualifier public @interface FlywayDataSource
Qualifier used to specify which datasource will be used and therefore which Flyway instance will be injected.

Flyway instances can also be qualified by name using @Named. The name is the datasource name prefixed by "flyway_".

  • Element Details