Execute Liquibase before hibernate in SPRINGBOOT using SpringJPA

ぃ、小莉子 提交于 2020-01-16 11:41:47

问题


I am working on already existing project which uses spring.jpa.hibernate.ddl-auto=update and spring.jpa.generate-ddl=true. I am adding new table using liquibase.

When I do mvn install, migrations are being applied correctly and when I do a java -jar target/MyApplication.java Schema Update happens org.hibernate.tool.hbm2ddl.SchemaUpdate : HHH000228: Running hbm2ddl schema update.

I don't understand why this behaviour is, can somebody help me in this?

Thanks

来源:https://stackoverflow.com/questions/58918808/execute-liquibase-before-hibernate-in-springboot-using-springjpa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!