|
|
|
@ -67,7 +67,7 @@ public class JdbcQueryMethod extends QueryMethod { |
|
|
|
NamedQueries namedQueries, |
|
|
|
NamedQueries namedQueries, |
|
|
|
MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) { |
|
|
|
MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) { |
|
|
|
|
|
|
|
|
|
|
|
super(method, metadata, factory); |
|
|
|
super(method, metadata, factory, JdbcParameters::new); |
|
|
|
this.namedQueries = namedQueries; |
|
|
|
this.namedQueries = namedQueries; |
|
|
|
this.method = method; |
|
|
|
this.method = method; |
|
|
|
this.mappingContext = mappingContext; |
|
|
|
this.mappingContext = mappingContext; |
|
|
|
@ -75,11 +75,6 @@ public class JdbcQueryMethod extends QueryMethod { |
|
|
|
this.modifyingQuery = AnnotationUtils.findAnnotation(method, Modifying.class) != null; |
|
|
|
this.modifyingQuery = AnnotationUtils.findAnnotation(method, Modifying.class) != null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected Parameters<?, ?> createParameters(ParametersSource parametersSource) { |
|
|
|
|
|
|
|
return new JdbcParameters(parametersSource); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
public RelationalEntityMetadata<?> getEntityInformation() { |
|
|
|
public RelationalEntityMetadata<?> getEntityInformation() { |
|
|
|
|