How can I generate changesetlog for the changes happened in the hbm file. For eg: I have my database and have my hbm files in project. If I change the hbm files in the project, how can I compare the db schema and the current hbm files and generate a changesetlog for the changes.
I have searched liquibase doc, but found out that two databases can be compared but not database and the current hbm file. Is there a way to make a schema diff tool to make this happen?
There is an extension to use Hibernate configuration as a comparison side for diff https://github.com/liquibase/liquibase-hibernate but haven't tried t myself so am not aware about possible issues.