liquibase-hibernate5 3.6 is incompatible with liquibase 3.6.x
See original GitHub issueliquibase-hibernate5 is compiled against liquibase-core 3.5.3 liquibase-core has changed its API between 3.5 and 3.6 in a way that is incompatible (see https://github.com/liquibase/liquibase/commit/6ddd845435163adf8897534fcfe25ad2b0963885), which means code compiled against liquibase 3.5 can not run against liquibase 3.6
This means running liquibase-hibernate5 3.6 with liquibase-core 3.6.x will result in runtime errors such as:
java.lang.NoSuchMethodError: liquibase.structure.core.UniqueConstraint.setTable(Lliquibase/structure/core/Table;)Lliquibase/structure/core/UniqueConstraint;
at liquibase.ext.hibernate.snapshot.UniqueConstraintSnapshotGenerator.addTo(UniqueConstraintSnapshotGenerator.java:67)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:84)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:76)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:76)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:76)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49)
at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:286)
at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:407)
at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:429)
at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:334)
at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:309)
at liquibase.snapshot.DatabaseSnapshot.init(DatabaseSnapshot.java:102)
at liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:59)
at liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:38)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:217)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:190)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:157)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Update of spring boot project - problem with liquibase arises
Spring Boot version 2.5.6. liquibase dependencies to 4.6.1. The problem is the following: There are several old migration files that have a ...
Read more >Liquibase 3.6.0 Released
Version 3.6.0 is primarily a bugfix release, but there have been over new 1000 commits since the 3.5.x series, so TONS of good...
Read more >I can't run any version of swagger-fox. Spring Boot 2.4.2 + JDK 8.
This is the first time I can't get any version of swagger-fox up and running. Link on tuturial - Run failed - ....
Read more >liquibase - Bountysource
As a user of liquibase 4.4.x, I would like to be able to use the same command line ... liquibaseRuntime 'org.liquibase.ext:liquibase-hibernate5:3.6' ...
Read more >pom.xml · master · Alessio Jr / jhipster - GitLab
The liquibase version should match the one managed by ... <liquibase-hibernate5.version>3.6</liquibase-hibernate5.version>.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, I had the same thought last week and I found a forum post on liquibase forums where nathan asked for people who wanted to help out in a committer role. I send him an email offering to help out with liquibase-hibernate specifically. So far I have not received an answer but I’ll wait a bit longer hoping he’s just busy.
@haster Any news on the forking? This project needs updates badly.