POSTED 24 Oct 2016 by Nathan Voxland
After far too long, the Liquibase-Hibernate plugin has been updated to support Hibernate 5.x!!
To use the new Hibernate 5 support, either download the liquibase-hibernate5 jar from the release page or change your maven coordinates to <artifactId>liquibase-hibernate5</artifactId> instead of <artifactId>liquibase-hibernate4</artifactId>.
I have also released a 3.6 version of the liquibase-hibernate4 plugin that fixes some issues and also supports the newest Liquibase 3.5.3.
Because of changes in how Hibernate handles its naming between 4.x and 5.x, you now need to use separate implicitNamingStrategy and physicalNamingStrategy settings. The Liquibase-Hibernate plugin will try to pick these up from your configuration automatically, but if you are setting them in your liquibase “url” you may need to change them.
Liquibase 3.5 introduced a change to how the the loadData change computed checksums of the CSV. The fix made it more forgiving of whitespace added to the file, but if you previously had whitespace in your csv file you will get checksum validation errors. Adding the <validCheckSum>*</validCheckSum> tag to any problem changeSets will fix the problem.
The full changelog is available at https://github.com/liquibase/liquibase-hibernate/milestone/6?closed=1
Any issues or feature suggestions can be added to https://github.com/liquibase/liquibase-hibernate/issues