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) {