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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.data.repository.query.QueryMethod
org.springframework.data.repository.query.QueryMethod.Type
 
Constructor Summary
JpaQueryMethod(Method method, QueryExtractor extractor)
          Creates a JpaQueryMethod.
 
Method Summary
protected  boolean isModifyingQuery()
          Returns whether the finder is a modifying one.
 
Methods inherited from class org.springframework.data.repository.query.QueryMethod
getDomainClass, getEntityInformation, getName, getParameters, getType, isCollectionQuery, 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)
Creates a JpaQueryMethod.

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

isModifyingQuery

protected boolean isModifyingQuery()
Returns whether the finder is a modifying one.

Overrides:
isModifyingQuery in class org.springframework.data.repository.query.QueryMethod
Returns:

Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.