-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
This is a duplicate of #789, but it was closed as completed without a proper resolution.
The IdentifierGeneratorFactory
was removed in 7.0.0.Alpha3
The same issue can be seen in the dependabot
#795
This is the error I get when generating from JPA entities, with the classic config.
Unexpected error running Liquibase: 'org.hibernate.id.factory.IdentifierGeneratorFactory org.hibernate.boot.spi.MetadataBuildingOptions.getIdentifierGeneratorFactory()'
java.lang.NoSuchMethodError: 'org.hibernate.id.factory.IdentifierGeneratorFactory org.hibernate.boot.spi.MetadataBuildingOptions.getIdentifierGeneratorFactory()'
at liquibase.ext.hibernate.snapshot.TableSnapshotGenerator.addTo(TableSnapshotGenerator.java:89)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:82)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:72)
at liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator.snapshot(HibernateSnapshotGenerator.java:74)
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:72)
at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:319)
at liquibase.snapshot.DatabaseSnapshot.init(DatabaseSnapshot.java:112)
at liquibase.snapshot.DatabaseSnapshot.<init>(DatabaseSnapshot.java:65)
at liquibase.snapshot.JdbcDatabaseSnapshot.<init>(JdbcDatabaseSnapshot.java:37)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:343)
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:296)
at liquibase.command.core.DiffCommandStep.generateDatabaseShapshot(DiffCommandStep.java:210)
at liquibase.command.core.DiffCommandStep.createReferenceSnapshot(DiffCommandStep.java:197)
at liquibase.command.core.DiffCommandStep.createDiffResult(DiffCommandStep.java:117)
at liquibase.command.core.DiffCommandStep.run(DiffCommandStep.java:93)
at liquibase.command.CommandScope.lambda$execute$6(CommandScope.java:263)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:201)
at liquibase.command.CommandScope.execute(CommandScope.java:251)
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:51)
at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:21)
at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
at picocli.CommandLine.execute(CommandLine.java:2174)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$2(LiquibaseCommandLine.java:420)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:201)
at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$3(LiquibaseCommandLine.java:395)
at liquibase.Scope.child(Scope.java:225)
at liquibase.Scope.child(Scope.java:201)
at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:392)
at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:117)
implementation("org.liquibase:liquibase-core:4.33.0")
implementation("org.liquibase.gradle:org.liquibase.gradle.gradle.plugin:3.0.2")
liquibaseRuntime(libs.bundles.hibernate)//7.1.0.Final
liquibaseRuntime("org.liquibase.ext:liquibase-hibernate6:4.33.0")
liquibaseRuntime("org.liquibase:liquibase-core:4.33.0")
liquibaseRuntime("org.liquibase:liquibase-groovy-dsl:4.0.1")
liquibaseRuntime("info.picocli:picocli:4.7.7")
liquibaseRuntime(libs.postgresql)//42.7.3
Zayver and Mrakobec
Metadata
Metadata
Assignees
Labels
No labels