0
I want to create Liquibase changelog file based on differences between my database and my Hibernate entities for different database environments, therefore different datatypes in Oracle, SQL Server and PostgreSQL. And it’s a Maven Project. So, is there any Maven plugin or can be generated to do this operations?
Also I tried liquibase-hibernate plugin, but it is not working properly, sometimes diff cannot see any difference although I made changes in Entity.java
.
So this is what I wanted as a workflow in dev;
- Make a change in my
Entity.java
- Run a command like
mvn:migrateAll
including liquibase diff - Changelog file for all databases are generated based on difference
- Run
mvn:liquibase update
command to update my tables.