Skip to content

For better compatibility with Flyway 5.1, avoid calling setCallbacks when flywayCallbacks is empty #14775

@emichalsky

Description

@emichalsky

Having migrated my Spring Boot Application to version 2.0.5, using Flyway version 5.1.4,
I get the WARN message

"WARN localhost-startStop-1 o.f.c.Flyway:53 - Flyway.setCallbacks(FlywayCallback) has been deprecated and will be removed in Flyway 6.0. Use Flyway.setCallbacks(Callback) instead."

upon application start, although I don't configure any callbacks.

Same problem as here: https://stackoverflow.com/questions/51905633/flyway-deprecation-message-logged-when-using-spring-boot-2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions