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 QueryMethod

JPA specific extension of QueryMethod.

Author:
Oliver Gierke

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.data.repository.query.QueryMethod
QueryMethod.Type
 
Constructor Summary
JpaQueryMethod(Method method, RepositoryMetadata metadata, 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, getNamedQueryName, 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,
                      RepositoryMetadata metadata,
                      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 QueryMethod
Returns:

Spring Data Jpa

Copyright © 2011-2012 SpringSource. All Rights Reserved.