Spring Data Jpa

org.springframework.data.jpa.repository.query
Class JpaQueryExecution

java.lang.Object
  extended by 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

Constructor Summary
JpaQueryExecution()
           
 
Method Summary
protected abstract  Object doExecute(AbstractJpaQuery query, Object[] values)
          Method to implement AbstractStringBasedJpaQuery executions by single enum values.
 Object execute(AbstractJpaQuery query, Object[] values)
          Executes the given AbstractStringBasedJpaQuery with the given ParameterBinder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaQueryExecution

public JpaQueryExecution()
Method Detail

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:

Spring Data Jpa

Copyright © 2011-2012-2012 SpringSource. All Rights Reserved.