Browse Source

Fix visibility issues when testing AOT repository.

See: #2155
issue/2138-query-with-pageable
Christoph Strobl 2 months ago
parent
commit
239687c96c
No known key found for this signature in database
GPG Key ID: E6054036D0C37A4B
  1. 8
      spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/JdbcRepositoryIntegrationTests.java

8
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; @Id Long idProp;
String name; String name;
AggregateReference<DummyEntity, Long> ref; AggregateReference<DummyEntity, Long> ref;
@ -2120,7 +2120,7 @@ public class JdbcRepositoryIntegrationTests {
} }
} }
static class DummyAllArgsDto { public static class DummyAllArgsDto {
@Id Long idProp; @Id Long idProp;
String name; String name;
AggregateReference<DummyEntity, Long> ref; AggregateReference<DummyEntity, Long> ref;
@ -2140,7 +2140,7 @@ public class JdbcRepositoryIntegrationTests {
} }
} }
record DtoProjection(String name) { public record DtoProjection(String name) {
public boolean equals(final Object o) { public boolean equals(final Object o) {
@ -2166,7 +2166,7 @@ public class JdbcRepositoryIntegrationTests {
} }
} }
static class CustomRowMapper implements RowMapper<DummyEntity> { public static class CustomRowMapper implements RowMapper<DummyEntity> {
@Override @Override
public DummyEntity mapRow(ResultSet rs, int rowNum) { public DummyEntity mapRow(ResultSet rs, int rowNum) {

Loading…
Cancel
Save