Liquibase + Hibernate ORM 5.0 [英] Liquibase + Hibernate ORM 5.0
问题描述
我即将迁移到Hibernate ORM 5.0,我也想在我的项目中使用Liquibase。
Liquibase Hibernate Extension 中提到 liquibase-hibernate4
用于Hibernate 4.3+支持。
有没有人使用Liquibase和Hibernate ORM 5.0? / strong>
我想确保Liquibase在新的Hibernate版本中没有问题。
更新:于2016年10月24日@nvoxland发布 liquibase-hibernate5 3.6。
这里是关闭的 / em> issue at GitHub: Issue#96 。
我终于可以说当前 Liquibase Hibernate Ex张力( liquibase-hibernate4
)与Hibernate ORM 5.0.1不兼容
以下是错误报告: SessionFactoryImpl中的AbstractMethodError
Steve Ebersole说:
该行试图调用集成器。我假设你有集成商不打算与Hibernate 5.0一起使用。根据迁移指南中的讨论,该合同在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.
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.
这篇关于Liquibase + Hibernate ORM 5.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!