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 QueryMethod
JPA specific extension of QueryMethod.
- Author:
- Oliver Gierke
JpaQueryMethod
public JpaQueryMethod(Method method,
RepositoryMetadata metadata,
QueryExtractor extractor)
- Creates a
JpaQueryMethod.
- Parameters:
method - must not be nullextractor - must not be nullmetadata - must not be null
isModifyingQuery
public boolean isModifyingQuery()
- Returns whether the finder is a modifying one.
- Overrides:
isModifyingQuery in class QueryMethod
- Returns:
getNamedQueryName
public String getNamedQueryName()
- Overrides:
getNamedQueryName in class QueryMethod
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.