Skip to content

Commit f4e2fa7

Browse files
committed
Polishing.
Disable records projection test with Hibernate 6.2. See #2757
1 parent 3d03ace commit f4e2fa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
import org.springframework.data.jpa.repository.sample.SampleEvaluationContextExtension.SampleSecurityContextHolder;
7272
import org.springframework.data.jpa.repository.sample.UserRepository;
7373
import org.springframework.data.jpa.repository.sample.UserRepository.NameOnly;
74+
import org.springframework.data.jpa.util.DisabledOnHibernate;
7475
import org.springframework.test.context.ContextConfiguration;
7576
import org.springframework.test.context.junit.jupiter.SpringExtension;
7677
import org.springframework.transaction.annotation.Transactional;
@@ -2981,6 +2982,7 @@ void supportsInterfaceProjectionsWithNativeQueries() {
29812982
}
29822983

29832984
@Test // GH-2757
2985+
@DisabledOnHibernate("6.2")
29842986
void supportsRecordsWithNativeQueries() {
29852987

29862988
flushTestUsers();

0 commit comments

Comments
 (0)