public class ParameterBinder extends Object
ParameterBinder
is used to bind method parameters to a Query
. This is usually done whenever an
AbstractJpaQuery
is executed.Constructor and Description |
---|
ParameterBinder(JpaParameters parameters,
Iterable<org.springframework.data.jpa.repository.query.QueryParameterSetter> parameterSetters)
|
Modifier and Type | Method and Description |
---|---|
<T extends javax.persistence.Query> |
bind(T jpaQuery,
Object[] values) |
public ParameterBinder(JpaParameters parameters, Iterable<org.springframework.data.jpa.repository.query.QueryParameterSetter> parameterSetters)
parameters
- must not be null.parameterSetters
- must not be null.public <T extends javax.persistence.Query> T bind(T jpaQuery, Object[] values)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.