org.springframework.data.jpa.repository.query
Class JpaQueryMethod
java.lang.Object
org.springframework.data.repository.query.QueryMethod
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 classes/interfaces inherited from class org.springframework.data.repository.query.QueryMethod |
org.springframework.data.repository.query.QueryMethod.Type |
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 |
JpaQueryMethod
public JpaQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
QueryExtractor extractor)
- Creates a
JpaQueryMethod
.
- Parameters:
method
- must not be nullextractor
- must not be nullmetadata
- must not be null
isModifyingQuery
protected boolean isModifyingQuery()
- Returns whether the finder is a modifying one.
- Overrides:
isModifyingQuery
in class org.springframework.data.repository.query.QueryMethod
- Returns:
Copyright © 2011 SpringSource. All Rights Reserved.