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.
|
<S extends T,R> |
findBy(com.querydsl.core.types.Predicate predicate,
Function<FluentQuery.FetchableFluentQuery<S>,R> queryFunction)
Deprecated.
|
Optional<T> |
findOne(com.querydsl.core.types.Predicate predicate)
Deprecated.
|
count, count, count, delete, deleteAll, deleteAll, deleteAllById, deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteById, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findBy, findById, findOne, findOne, flush, getById, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getRepositoryMethodMetadata, readPage, readPage, save, saveAll, saveAllAndFlush, saveAndFlush, setEscapeCharacter, setRepositoryMethodMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteInBatchpublic 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 <S extends T,R> R findBy(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>,R> queryFunction)
findBy 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–2021 Pivotal Software, Inc.. All rights reserved.