org.springframework.data.jpa.repository.query
Class JpaQueryExecution
java.lang.Object
org.springframework.data.jpa.repository.query.JpaQueryExecution
public abstract class JpaQueryExecution
- extends Object
Set of classes to contain query execution strategies. Depending (mostly) on
the return type of a QueryMethod
a
AbstractStringBasedJpaQuery
can be executed in various flavours.
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaQueryExecution
public JpaQueryExecution()
execute
public Object execute(AbstractJpaQuery query,
Object[] values)
- Executes the given
AbstractStringBasedJpaQuery
with the given
ParameterBinder
.
- Parameters:
query
- binder
-
- Returns:
doExecute
protected abstract Object doExecute(AbstractJpaQuery query,
Object[] values)
- Method to implement
AbstractStringBasedJpaQuery
executions by
single enum values.
- Parameters:
query
- binder
-
- Returns:
Copyright © 2011 SpringSource. All Rights Reserved.