Class PartTreeJpaQuery
java.lang.Object
org.springframework.data.jpa.repository.query.AbstractJpaQuery
org.springframework.data.jpa.repository.query.PartTreeJpaQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
A
AbstractJpaQuery implementation based on a PartTree.- Author:
- Oliver Gierke, Thomas Darimont, Christoph Strobl, Jens Schauder, Mark Paluch, Сергей Цыпанов
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.TypedQuery<Long>Creates aTypedQueryfor counting using the given values.jakarta.persistence.QuerydoCreateQuery(JpaParametersParameterAccessor accessor) Creates aQueryinstance for the given values.protected JpaQueryExecutionMethods inherited from class org.springframework.data.jpa.repository.query.AbstractJpaQuery
applyHints, applyQueryHint, createBinder, createCountQuery, createQuery, execute, getEntityManager, getMetamodel, getQueryMethod, getTypeToRead
-
Method Details
-
doCreateQuery
Description copied from class:AbstractJpaQueryCreates aQueryinstance for the given values.- Specified by:
doCreateQueryin classAbstractJpaQuery- Parameters:
accessor- must not be null.- Returns:
-
doCreateCountQuery
public jakarta.persistence.TypedQuery<Long> doCreateCountQuery(JpaParametersParameterAccessor accessor) Description copied from class:AbstractJpaQueryCreates aTypedQueryfor counting using the given values.- Specified by:
doCreateCountQueryin classAbstractJpaQuery- Parameters:
accessor- must not be null.- Returns:
-
getExecution
- Overrides:
getExecutionin classAbstractJpaQuery
-