Upgrade to Hibernate ORM 7.0.0.Beta3 and Validator 9.0.0.CR1

Using relocated Maven coordinates.

See gh-33750
This commit is contained in:
Juergen Hoeller
2024-12-15 14:37:54 +01:00
parent 30d249c3a7
commit 5cbb5d4d70
9 changed files with 10 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ dependencies {
optional(project(":spring-web"))
optional("jakarta.servlet:jakarta.servlet-api")
optional("org.eclipse.persistence:org.eclipse.persistence.jpa")
optional("org.hibernate:hibernate-core")
optional("org.hibernate.orm:hibernate-core")
testImplementation(project(":spring-core-test"))
testImplementation(testFixtures(project(":spring-beans")))
testImplementation(testFixtures(project(":spring-context")))

View File

@@ -285,18 +285,6 @@ public class LocalSessionFactoryBuilder extends Configuration {
return this;
}
/**
* Add the given annotated classes in a batch.
* @see #addAnnotatedClass
* @see #scanPackages
*/
public LocalSessionFactoryBuilder addAnnotatedClasses(Class<?>... annotatedClasses) {
for (Class<?> annotatedClass : annotatedClasses) {
addAnnotatedClass(annotatedClass);
}
return this;
}
/**
* Add the given annotated packages in a batch.
* @see #addPackage