QuerydslJpaPredicateExecutor@Deprecated public class QuerydslJpaRepository<T,ID extends Serializable> extends SimpleJpaRepository<T,ID> implements QuerydslPredicateExecutor<T>
SimpleJpaRepository which adds implementation for
QuerydslPredicateExecutor.| Constructor and Description |
|---|
QuerydslJpaRepository(JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager)
Deprecated.
Creates a new
QuerydslJpaRepository from the given domain class and EntityManager. |
QuerydslJpaRepository(JpaEntityInformation<T,ID> entityInformation,
javax.persistence.EntityManager entityManager,
EntityPathResolver resolver)
Deprecated.
Creates a new
QuerydslJpaRepository from the given domain class and EntityManager and uses the
given EntityPathResolver to translate the domain class into an EntityPath. |
| Modifier and Type | Method and Description |
|---|---|
long |
count(com.querydsl.core.types.Predicate predicate)
Deprecated.
|
protected com.querydsl.jpa.JPQLQuery<?> |
createCountQuery(com.querydsl.core.types.Predicate... predicate)
Deprecated.
Creates a new
JPQLQuery count query for the given Predicate. |
protected com.querydsl.jpa.JPQLQuery<?> |
createQuery(com.querydsl.core.types.Predicate... predicate)
Deprecated.
Creates a new
JPQLQuery for the given Predicate. |
boolean |
exists(com.querydsl.core.types.Predicate predicate)
Deprecated.
|
List<T> |
findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
Deprecated.
|
List<T> |
findAll(com.querydsl.core.types.Predicate predicate)
Deprecated.
|
List<T> |
findAll(com.querydsl.core.types.Predicate predicate,
com.querydsl.core.types.OrderSpecifier<?>... orders)
Deprecated.
|
Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
Pageable pageable)
Deprecated.
|
List<T> |
findAll(com.querydsl.core.types.Predicate predicate,
Sort sort)
Deprecated.
|
Optional<T> |
findOne(com.querydsl.core.types.Predicate predicate)
Deprecated.
|
count, count, count, delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, deleteInBatch, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findById, findOne, findOne, flush, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getRepositoryMethodMetadata, readPage, readPage, save, saveAll, saveAndFlush, setEscapeCharacter, setRepositoryMethodMetadatapublic QuerydslJpaRepository(JpaEntityInformation<T,ID> entityInformation, javax.persistence.EntityManager entityManager)
QuerydslJpaRepository from the given domain class and EntityManager. This will use
the SimpleEntityPathResolver to translate the given domain class into an EntityPath.entityInformation - must not be null.entityManager - must not be null.public QuerydslJpaRepository(JpaEntityInformation<T,ID> entityInformation, javax.persistence.EntityManager entityManager, EntityPathResolver resolver)
QuerydslJpaRepository from the given domain class and EntityManager and uses the
given EntityPathResolver to translate the domain class into an EntityPath.entityInformation - must not be null.entityManager - must not be null.resolver - must not be null.public Optional<T> findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate, Sort sort)
findAll in interface QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QuerydslPredicateExecutor<T>public Page<T> findAll(com.querydsl.core.types.Predicate predicate, Pageable pageable)
findAll in interface QuerydslPredicateExecutor<T>public long count(com.querydsl.core.types.Predicate predicate)
count in interface QuerydslPredicateExecutor<T>public boolean exists(com.querydsl.core.types.Predicate predicate)
exists in interface QuerydslPredicateExecutor<T>protected com.querydsl.jpa.JPQLQuery<?> createQuery(com.querydsl.core.types.Predicate... predicate)
JPQLQuery for the given Predicate.predicate - JPQLQuery.protected com.querydsl.jpa.JPQLQuery<?> createCountQuery(@Nullable com.querydsl.core.types.Predicate... predicate)
JPQLQuery count query for the given Predicate.predicate, - can be null.JPQLQuery.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.