October 24, 2016

Liquibase Hibernate Plugin 3.6 Released

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 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

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text




Nathan Voxland
Nathan Voxland
Share on: