diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs index 10a97a72dbaf..f27edbec36e5 100644 --- a/generators/server/templates/build.gradle.ejs +++ b/generators/server/templates/build.gradle.ejs @@ -550,7 +550,7 @@ if (SPRING_BOOT_VERSION.indexOf('M') > -1 || SPRING_BOOT_VERSION.indexOf('RC') > <%_ } _%> <%_ if (enableLiquibase && databaseTypeSql) { _%> <%_ if (!reactive) { _%> - liquibaseRuntime "org.liquibase.ext:liquibase-hibernate5:${liquibaseHibernate5Version}" + liquibaseRuntime "org.liquibase.ext:liquibase-hibernate6:${liquibaseHibernate6Version}" <%_ } _%> <%_ } _%> <%_ if (databaseTypeCassandra) { _%> diff --git a/generators/server/templates/gradle.properties.ejs b/generators/server/templates/gradle.properties.ejs index 34e1fd500bd4..e6ae2dfe8c19 100644 --- a/generators/server/templates/gradle.properties.ejs +++ b/generators/server/templates/gradle.properties.ejs @@ -39,7 +39,7 @@ caffeineVersion=3.1.2 typesafeConfigVersion=1.4.2 <%_ } _%> <%_ if (enableLiquibase && databaseTypeSql && !reactive) { _%> -liquibaseHibernate5Version=<%- javaDependencies.liquibase %> +liquibaseHibernate6Version=<%- javaDependencies.liquibase %> <%_ } _%> <%_ if (enableLiquibase) { _%> liquibaseTaskPrefix=liquibase diff --git a/generators/server/templates/pom.xml.ejs b/generators/server/templates/pom.xml.ejs index 74ce8a93bd36..068d770d2657 100644 --- a/generators/server/templates/pom.xml.ejs +++ b/generators/server/templates/pom.xml.ejs @@ -115,7 +115,7 @@ <%_ } _%> <%_ if (enableLiquibase && databaseTypeSql) { _%> <%_ if (!reactive) { _%> - <%- javaDependencies.liquibase %> + <%- javaDependencies.liquibase %> <%_ } _%> 3.0.2.Final <%_ if (reactive) { _%> @@ -1809,8 +1809,8 @@ org.liquibase.ext - liquibase-hibernate5 - ${liquibase-hibernate5.version} + liquibase-hibernate6 + ${liquibase-hibernate6.version} org.springframework.boot @@ -1994,8 +1994,8 @@ org.liquibase.ext - liquibase-hibernate5 - ${liquibase-hibernate5.version} + liquibase-hibernate6 + ${liquibase-hibernate6.version} org.springframework.boot