Liquibase + Hibernate ORM 5.0

2019-03-30 08:47发布

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.

1条回答
我命由我不由天
2楼-- · 2019-03-30 09:05

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.

查看更多
登录 后发表回答