Liquibase + Hibernate ORM 5.0

给你一囗甜甜゛ 提交于 2019-12-05 00:57:00

问题


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:


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.



来源:https://stackoverflow.com/questions/32231741/liquibase-hibernate-orm-5-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!