Spring Data Jpa

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

java.lang.Object
  extended by org.springframework.data.repository.query.QueryMethod
      extended by org.springframework.data.jpa.repository.query.JpaQueryMethod

public class JpaQueryMethod
extends org.springframework.data.repository.query.QueryMethod

JPA specific extension of QueryMethod.

Author:
Oliver Gierke

Constructor Summary
JpaQueryMethod(Method method, QueryExtractor extractor, javax.persistence.EntityManager em)
          Creates a JpaQueryMethod.
 
Method Summary
 JpaQueryExecution getExecution()
          Returns the JpaQueryExecution.
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
getDomainClass, getName, getParameters, isCollectionQuery, isCorrectNumberOfParameters, isPageQuery, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JpaQueryMethod

public JpaQueryMethod(Method method,
                      QueryExtractor extractor,
                      javax.persistence.EntityManager em)
Creates a JpaQueryMethod.

Parameters:
method - must not be null
extractor - must not be null
em - must not be null
Method Detail

getExecution

public JpaQueryExecution getExecution()
Returns the JpaQueryExecution.

Returns:

Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.