question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrator not compatible with Hibernate ORM 5.0.1

See original GitHub issue

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.

Also mentioned in Liquibase + Hibernate ORM 5.0

Here is Hibernate 5.0 Migration Guide

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:25
  • Comments:85 (34 by maintainers)

github_iconTop GitHub Comments

17reactions
nvoxlandcommented, Sep 8, 2016

I’m nearly done with the hibernate 5 support. Still getting the hibernate:classic url to work passing in a package name. It will depend on 3.5.2 which I’m trying to get out this week, then I can post a RC for the liquibase-hibernate extension.

11reactions
nvoxlandcommented, Sep 23, 2016

I pushed support for Hibernate 5.2 to the master branch in liquibase-hibernate Hibernate 4 support has been moved to a new hibernate4 branch.

The pre-existing tests are all passing, but I could definitely use some help testing in real environments.

If you don’t want to build the liquibase-hibernate code, you can pull the jar from the buildserver at https://liquibase.jira.com/builds/browse/CONTRIB-HBNSNAP3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hibernate 5 incompatible Integrator ...
Hi, Came through this problem while i upgraded my hibernate version to 5.0+ it keeps throwing the java.lang.AbstractMethodError.
Read more >
Hibernate ORM 5.0 User Guide
This chapter will focus on JPA mapping where possible. For Hibernate mapping features not supported by JPA we will prefer Hibernate extension annotations....
Read more >
5.0 series - Hibernate ORM
We encourage you to upgrade to a newer series if possible. Compatibility. Java, 6, 7 or 8. JPA, 2.1. Not compatible with your...
Read more >
Hibernate ORM 5.0.0.Beta1 Release - In Relation To
NOTE: 5.0 is expected to be compatible with Java 6 (aside from the hibernate-java8 module naturally). However, Beta1 will not work with Java ......
Read more >
java - AbstractMethodError in SessionFactoryImpl when ...
This error has nothing to do with Spring. You have an Hibernate 5 incompatible Integrator in your classpath. These are detected through the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found