Closed
Description
Hello,
I use your starter in our project and found an issue with the autoconfiguration order. Sometimes SqlSessionFactory and SqlSessionTemplate can be configured and used before liquibase/flyway initialized the database completely. That leads to
problems on startup in an empty environment.
As I checked, Liquibase/Flyway AutoConfiguration provides *DependsOnPostProcessors for standard JDBC beans (JdbcTemplate and EntityManager). That ensures the order in which beans will be initialized.
Now I added this dependency manually, but it will be nice if this will be in autoconfiguration.
Thank you in advance.