org.springframework.data.jpa.repository.query
Class PartTreeJpaQuery
java.lang.Object
org.springframework.data.jpa.repository.query.AbstractJpaQuery
org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- All Implemented Interfaces:
- RepositoryQuery
public class PartTreeJpaQuery
- extends AbstractJpaQuery
A AbstractJpaQuery
implementation based on a PartTree
.
- Author:
- Oliver Gierke
Method Summary |
javax.persistence.TypedQuery<Long> |
doCreateCountQuery(Object[] values)
Creates a TypedQuery for counting using the given values. |
javax.persistence.Query |
doCreateQuery(Object[] values)
Creates a Query instance for the given values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartTreeJpaQuery
public PartTreeJpaQuery(JpaQueryMethod method,
javax.persistence.EntityManager em)
- Creates a new
PartTreeJpaQuery
.
- Parameters:
method
- em
-
doCreateQuery
public javax.persistence.Query doCreateQuery(Object[] values)
- Description copied from class:
AbstractJpaQuery
- Creates a
Query
instance for the given values.
- Specified by:
doCreateQuery
in class AbstractJpaQuery
- Parameters:
values
- must not be null.
- Returns:
doCreateCountQuery
public javax.persistence.TypedQuery<Long> doCreateCountQuery(Object[] values)
- Description copied from class:
AbstractJpaQuery
- Creates a
TypedQuery
for counting using the given values.
- Specified by:
doCreateCountQuery
in class AbstractJpaQuery
- Parameters:
values
- must not be null.
- Returns:
Copyright © 2011-2012-2012 SpringSource. All Rights Reserved.