spring-bootmybatisliquibasedbmigratedbmigrator

How to start Liquibase migrations before MyBatis mapping in a SpringBootApplication?


How to start Liquibase migrations before MyBatis mapping in a SpringBootApplication?

Is it an official way for it? I tried DependsOn it doesn't work, exposing cyclic dependency


Solution

  • Liquibase has a tutorial on how to use Liquibase with Spring boot and Maven. You could start from there.