Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes: - Dependency management for modules that do not exist in Hibernate 6.1 has been removed. - Hibernate's modules are now in the org.hibernate.orm group. Users not using the starter or using modules that are not in the starter will have to update their build configuration accordingly. - spring.jpa.hibernate.use-new-id-generator-mappings has been removed as Hibernate no longer supports switching back to the old ID generator mappings. Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com> Closes gh-31674
This commit is contained in:
committed by
Andy Wilkinson
parent
beb40eaaf6
commit
b10c57551c
@@ -10,12 +10,7 @@ dependencies {
|
||||
implementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-web"))
|
||||
implementation("jakarta.persistence:jakarta.persistence-api")
|
||||
implementation("jakarta.xml.bind:jakarta.xml.bind-api")
|
||||
implementation("org.hibernate:hibernate-core-jakarta") {
|
||||
exclude group: "javax.activation", module: "javax.activation-api"
|
||||
exclude group: "javax.persistence", module: "javax.persistence-api"
|
||||
exclude group: "javax.xml.bind", module: "jaxb-api"
|
||||
exclude group: "org.jboss.spec.javax.transaction", module: "jboss-transaction-api_1.2_spec"
|
||||
}
|
||||
implementation("org.hibernate.orm:hibernate-core")
|
||||
implementation("org.springframework:spring-orm")
|
||||
|
||||
runtimeOnly("com.h2database:h2")
|
||||
|
||||
Reference in New Issue
Block a user