Spring 4.3.0.RELEASE,Hibernate 5.0.9.Final,缺少 SessionFactoryImplementor.getProperties 方法

Spring 4.3.0.RELEASE, Hibernate 5.0.9.Final, missing SessionFactoryImplementor.getProperties method

我在我的应用程序中使用 Spring 4.3.0.RELEASE 和 Hibernate 5.0.9.Final,并且我不断得到

java.lang.NoSuchMethodError: org.hibernate.engine.spi.SessionFactoryImplementor.getProperties()Ljava/util/Map;

如果我更新 Hibernate 5.2。0.Final,一切正常。 Spring 4.3.0 似乎与 Hibernate 5.0 不兼容,对吗?我找不到任何关于不支持 Hibernate 5.0 的信息。

在Hibernate 5.2中,有这样的方法,在Hibernate 5.0中还没有这个方法(只需将URL中的5.2替换为5.0): http://docs.jboss.org/hibernate/orm/5.2/javadocs/org/hibernate/engine/spi/SessionFactoryImplementor.html

我创建了简单的复制器: https://github.com/trepel/spring43-hibernate50-error

感谢您的所有回复。

已经有一个问题,SPR-14365,涵盖了那个。