Skip to content

Commit a8a9d46

Browse files
committed
Adopt Hibernate version guards in tests.
1 parent 6eda211 commit a8a9d46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureIntegrationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ void testNamedOutputParameter() {
106106
new Employee(4, "Gabriel"));
107107
}
108108

109-
@DisabledOnHibernate("6")
109+
@DisabledOnHibernate(value = "7",
110+
disabledReason = "class org.hibernate.metamodel.model.domain.internal.EntityTypeImpl cannot be cast to class org.hibernate.query.OutputableType (org.hibernate.metamodel.model.domain.internal.EntityTypeImpl and org.hibernate.query.OutputableType are in unnamed module of loader 'app')")
110111
@Test // 2256
111112
void testSingleEntityFromResultSet() {
112113

0 commit comments

Comments
 (0)