Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Liquibase + Hibernate ORM 5.0

I'm about to migrate to Hibernate ORM 5.0 and I would like to use Liquibase in my project too.

The Liquibase Hibernate Extension mentions liquibase-hibernate4 for Hibernate 4.3+ support.

Is there anyone using Liquibase and Hibernate ORM 5.0?

I want to make sure that there are no issues in Liquibase with the new Hibernate version.

like image 569
IvanRF Avatar asked Sep 26 '22 22:09

IvanRF


1 Answers

Update: on 24-Oct-2016 @nvoxland released liquibase-hibernate5 3.6.

Here is the closed issue at GitHub: Issue #96.


I can finally say that the current Liquibase Hibernate Extension (liquibase-hibernate4) is not compatible with Hibernate ORM 5.0.1.

Here is the error report: AbstractMethodError in SessionFactoryImpl

Steve Ebersole said:

That line is attempting to call Integrators. I would assume you have Integrators not intended for use with Hibernate 5.0. That contract did change in 5.0 as discussed in the migration guide.

like image 136
IvanRF Avatar answered Sep 30 '22 07:09

IvanRF