Spring Data JPA

org.springframework.data.jpa.repository.query
Class PartTreeJpaQuery

java.lang.Object
  extended by org.springframework.data.jpa.repository.query.AbstractJpaQuery
      extended by 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

Constructor Summary
PartTreeJpaQuery(JpaQueryMethod method, javax.persistence.EntityManager em)
          Creates a new PartTreeJpaQuery.
 
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 org.springframework.data.jpa.repository.query.AbstractJpaQuery
createBinder, createCountQuery, createQuery, execute, getEntityManager, getExecution, getQueryMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartTreeJpaQuery

public PartTreeJpaQuery(JpaQueryMethod method,
                        javax.persistence.EntityManager em)
Creates a new PartTreeJpaQuery.

Parameters:
method -
em -
Method Detail

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:

Spring Data JPA

Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.