Skip to content

Commit 5dc857c

Browse files
authored
Upgrade to Spring Data JPA 3.5.0 (#253)
1 parent 094bc25 commit 5dc857c

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

core/src/main/java/com/cosium/spring/data/jpa/entity/graph/repository/query/EntityGraphAwareJpaQueryMethod.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import org.springframework.data.jpa.repository.query.JpaQueryMethod;
66
import org.springframework.data.projection.ProjectionFactory;
77
import org.springframework.data.repository.core.RepositoryMetadata;
8-
import org.springframework.data.repository.query.Parameters;
9-
import org.springframework.data.repository.query.ParametersSource;
108

119
/**
1210
* @author Réda Housni Alaoui
@@ -18,11 +16,6 @@ protected EntityGraphAwareJpaQueryMethod(
1816
RepositoryMetadata metadata,
1917
ProjectionFactory factory,
2018
QueryExtractor extractor) {
21-
super(method, metadata, factory, extractor);
22-
}
23-
24-
@Override
25-
protected Parameters<?, ?> createParameters(ParametersSource parametersSource) {
26-
return new EntityGraphAwareJpaParameters(parametersSource);
19+
super(method, metadata, factory, extractor, EntityGraphAwareJpaParameters::new);
2720
}
2821
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<properties>
2020
<maven.compiler.release>17</maven.compiler.release>
2121

22-
<spring.data.jpa>3.2.1</spring.data.jpa>
22+
<spring.data.jpa>3.5.0</spring.data.jpa>
2323
<querydsl>5.1.0</querydsl>
2424

2525
<dbunit>3.0.0</dbunit>

0 commit comments

Comments
 (0)