LiquiBase 1.6.0 Released with Hiberate Support

The LiquiBase team is proud to announce the 1.6.0 LiquiBase Core release.

This release focuses primarily on Hibernate integration which allows you to use the diffChangeLog functionality available with the command line and Ant to automatically generate LiquiBase change sets based on new Hibernate mapping information.

This functionality is similar to what is offered with hbm2ddl, but with the added ability to control and modify the changes before they are applied. For more information, see http://www.liquibase.org/manual/hibernate

Additional functionality includes a new “tagDatabase” tag, a “primaryKeyName” attribute on the column tag, as well as many bug fixes.

NOTE: Due to a bug in the change set md5 checksum generation in pre-1.6 releases, existing md5sum information needs to be cleared out of the databasechagelog table before running 1.6 for the first time. This can be done by running “liquibase clearCheckSums” or by running “UPDATE DATABASECHANGELOG SET MD5SUM=NULL”

Upgrading is simply a matter of replacing the liquibase.jar file. To take advantage of newer change log features, change your XSD declaration to:

<databasechangelog xmlns=”http://www.liquibase.org/xml/ns/dbchangelog/1.6″
xsi=”http://www.w3.org/2001/XMLSchema-instance”
schemalocation=”http://www.liquibase.org/xml/ns/dbchangelog/1.6
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.6.xsd”>

LiquiBase 1.6 can be downloaded from http://www.liquibase.org/download and, as always, let us know if you have any questions or issues.

The Maven and Grails plug-ins will be updated over the next week.

3 Comments

  1. Sola:

    Hibernate support sounds interesting, this would reduce the effort of creating changesets.

  2. Demetrios:

    Any plans to add support for Cayenne?
    I think cayenne3 has some sort of changes support already, but it woudl be interesting if liquibase could do the job.

    Thank you,

    Demetrios.

  3. Nathan Voxland:

    JPA is the next planned ORM integration which Cayenne is planning to implement, so that mapping method will be supported for sure.

    Cayenne-specific support would depend on the user interest level and/or someone looking to implement support.

Leave a comment