Add build profile for Hibernate 7.
Not yet executed in CI automatically as we expect 7.0 to contain changes that are likely to break our builds. Fixes GH-3361.
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -98,6 +98,7 @@
|
||||
<id>hibernate-70-snapshots</id>
|
||||
<properties>
|
||||
<hibernate>${hibernate-70-snapshots}</hibernate>
|
||||
<jakarta-persistence-api>3.2.0-M2</jakarta-persistence-api>
|
||||
</properties>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
||||
@@ -126,8 +126,8 @@ class QueryByExamplePredicateBuilderUnitTests {
|
||||
|
||||
doReturn(expressionMock).when(cb).literal(any(Boolean.class));
|
||||
doReturn(truePredicate).when(cb).isTrue(eq(expressionMock));
|
||||
doReturn(andPredicate).when(cb).and(ArgumentMatchers.any());
|
||||
doReturn(orPredicate).when(cb).or(ArgumentMatchers.any());
|
||||
doReturn(andPredicate).when(cb).and(ArgumentMatchers.<Predicate[]> any());
|
||||
doReturn(orPredicate).when(cb).or(ArgumentMatchers.<Predicate[]> any());
|
||||
}
|
||||
|
||||
@Test // DATAJPA-218
|
||||
|
||||
Reference in New Issue
Block a user