Liquibase Hibernate Integration

Liquibase extension for hibernate integration including generating changesets based on changed hibernate mapping files

License

License

Categories

Categories

Liquibase Data Databases Hibernate ORM
GroupId

GroupId

org.liquibase.ext
ArtifactId

ArtifactId

liquibase-hibernate3
Last Version

Last Version

3.4
Release Date

Release Date

Type

Type

jar
Description

Description

Liquibase Hibernate Integration
Liquibase extension for hibernate integration including generating changesets based on changed hibernate mapping files
Project URL

Project URL

https://github.com/liquibase/liquibase-hibernate/wiki
Project Organization

Project Organization

Liquibase.org
Source Code Management

Source Code Management

https://github.com/liquibase/liquibase-hibernate

Download liquibase-hibernate3

How to add to project

<!-- https://jarcasting.com/artifacts/org.liquibase.ext/liquibase-hibernate3/ -->
<dependency>
    <groupId>org.liquibase.ext</groupId>
    <artifactId>liquibase-hibernate3</artifactId>
    <version>3.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.liquibase.ext/liquibase-hibernate3/
implementation 'org.liquibase.ext:liquibase-hibernate3:3.4'
// https://jarcasting.com/artifacts/org.liquibase.ext/liquibase-hibernate3/
implementation ("org.liquibase.ext:liquibase-hibernate3:3.4")
'org.liquibase.ext:liquibase-hibernate3:jar:3.4'
<dependency org="org.liquibase.ext" name="liquibase-hibernate3" rev="3.4">
  <artifact name="liquibase-hibernate3" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.liquibase.ext', module='liquibase-hibernate3', version='3.4')
)
libraryDependencies += "org.liquibase.ext" % "liquibase-hibernate3" % "3.4"
[org.liquibase.ext/liquibase-hibernate3 "3.4"]

Dependencies

compile (5)

Group / Artifact Type Version
org.hibernate : hibernate-core jar 3.6.10.Final
org.hibernate.javax.persistence : hibernate-jpa-2.0-api jar 1.0.1.Final
org.hibernate : hibernate-entitymanager jar 3.6.10.Final
org.hibernate : hibernate-envers jar 3.6.10.Final
org.liquibase : liquibase-core jar 3.2.0

provided (6)

Group / Artifact Type Version
org.springframework : spring-test jar 3.2.4.RELEASE
org.springframework : spring-jdbc jar 3.2.4.RELEASE
org.springframework : spring-beans jar 3.2.4.RELEASE
org.springframework : spring-context jar 3.2.4.RELEASE
org.springframework : spring-orm jar 3.2.4.RELEASE
org.springframework : spring-hibernate3 jar 2.0.8

test (4)

Group / Artifact Type Version
junit : junit jar 4.11
org.hamcrest : hamcrest-library jar 1.3
org.hsqldb : hsqldb jar 2.2.9
mysql : mysql-connector-java jar 5.1.26

Project Modules

There are no modules declared in this project.

Liquibase Hibernate Integration

This extension lets you use your Hibernate configuration as a comparison database for diff, diffChangeLog and generateChangeLog in Liquibase.

Download

Download the extension from the project releases tab

Maven

This extension is available in the maven repository under group org.liquibase.ext, artifacts:

  • liquibase-hibernate4 Hibernate 4.3+ support
  • liquibase-hibernate4.2 Hibernate 4.0-4.2 support
  • liquibase-hibernate3 Hibernate 3.x support

More Information

For more information, see the project wiki

Issue Tracking

Any issues can be logged in the Github issue tracker

Hibernate 3 vs. Hibernate 4 vs. Hibernate 5

The master branch is Hibernate 5+ compatible. The hibernate4 branch is Hibernate 4.3+ compatible. For Hibernate 3 support, use the hibernate3 release and/or branch. For hibernate 4.0-4.2 support, use the hibernate4.2 release and/or branch.

Ideally changes should go into the hibernate3 branch and then be merged into master in order to support both Hibernate 3 and 4.

org.liquibase.ext

Liquibase

Easily track, version, and deploy database schema changes.

Versions

Version
3.4
3.3
3.2
3.1
3.0