Liquibase Hibernate Plugin 3.6 Released

October 24, 2016

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.

Potential Issues

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.

Additional changes in this release

  • Better diffChangeLog/generateChangeLog support for unique constraints
  • Improved support for @Clob and @Lob annotations
  • Improved detection and use of hibernate dialects
  • Improved handling of indexes and primary keys

The full changelog is available at

Any issues or feature suggestions can be added to

Article author
Nathan Voxland I am passionate about using data and analytics to improve the way people digitally experience and interact with companies. Throughout my career, I have had the opportunity to work with businesses and teams of all sizes, producing digital content experiences for large brands and small niche markets. I am driven by my curiosity to find answers to complex strategic problems — I love uncovering and understanding pain points and using data to identify strategic solutions to those problems. I'm a lifelong learner and love diving into new subjects. Evergreen interests include photography and hiking.