From 239687c96c501511255f72475685febf38ea5fe8 Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Wed, 15 Oct 2025 10:52:30 +0200 Subject: [PATCH] Fix visibility issues when testing AOT repository. See: #2155 --- .../jdbc/repository/JdbcRepositoryIntegrationTests.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java index b4f8e101d..c5b82f0be 100644 --- a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java +++ b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java @@ -2104,7 +2104,7 @@ public class JdbcRepositoryIntegrationTests { } } - static class DummyDto { + public static class DummyDto { @Id Long idProp; String name; AggregateReference ref; @@ -2120,7 +2120,7 @@ public class JdbcRepositoryIntegrationTests { } } - static class DummyAllArgsDto { + public static class DummyAllArgsDto { @Id Long idProp; String name; AggregateReference ref; @@ -2140,7 +2140,7 @@ public class JdbcRepositoryIntegrationTests { } } - record DtoProjection(String name) { + public record DtoProjection(String name) { public boolean equals(final Object o) { @@ -2166,7 +2166,7 @@ public class JdbcRepositoryIntegrationTests { } } - static class CustomRowMapper implements RowMapper { + public static class CustomRowMapper implements RowMapper { @Override public DummyEntity mapRow(ResultSet rs, int rowNum) {