Uses of Interface
com.querydsl.jpa.JPQLQuery
Packages that use JPQLQuery
Package
Description
JPA support
JPQL for Hibernate
JPQL for JPA
-
Uses of JPQLQuery in com.querydsl.jpa
Classes in com.querydsl.jpa that implement JPQLQueryModifier and TypeClassDescriptionclassJPAQueryBase<T,Q extends JPAQueryBase<T, Q>> JPAQueryBaseis a base Query class for JPA queriesMethods in com.querydsl.jpa that return JPQLQueryModifier and TypeMethodDescriptionJPQLQuery.fetchAll()Add the "fetchJoin all properties" flag to the last defined join.JPQLQuery.fetchJoin()Add the "fetchJoin" flag to the last defined join Mind that collection joins might result in duplicate rows and that "inner join fetchJoin" will restrict your result set.JPQLQuery.from(CollectionExpression<?, P> target, Path<P> alias) Add a query sourceJPQLQuery.from(EntityPath<?>... sources) Add sources to this queryJPQLQuery<?>JPQLQueryFactory.from(EntityPath<?> from) Create a new Query with the given sourceJPQLQuery<?>JPQLQueryFactory.from(EntityPath<?>... from) Create a new Query with the given sourceJPQLQuery.innerJoin(CollectionExpression<?, P> target) Create a inner join with the given target.JPQLQuery.innerJoin(CollectionExpression<?, P> target, Path<P> alias) Create a inner join with the given target and alias.JPQLQuery.innerJoin(EntityPath<P> target) Create a inner join with the given target.JPQLQuery.innerJoin(EntityPath<P> target, Path<P> alias) Create a inner join with the given target and alias.JPQLQuery.innerJoin(MapExpression<?, P> target) Create a inner join with the given target.JPQLQuery.innerJoin(MapExpression<?, P> target, Path<P> alias) Create a inner join with the given target and alias.JPQLQuery.join(CollectionExpression<?, P> target) Create a join with the given target.JPQLQuery.join(CollectionExpression<?, P> target, Path<P> alias) Create a join with the given target Use fetchJoin() to add the fetchJoin parameter to this joinJPQLQuery.join(EntityPath<P> target) Create a join with the given target.JPQLQuery.join(EntityPath<P> target, Path<P> alias) Create a join with the given target and alias.JPQLQuery.join(MapExpression<?, P> target) Create a join with the given target.JPQLQuery.join(MapExpression<?, P> target, Path<P> alias) Create a join with the given target and alias.JPQLQuery.leftJoin(CollectionExpression<?, P> target) Create a left join with the given target.JPQLQuery.leftJoin(CollectionExpression<?, P> target, Path<P> alias) Create a left join with the given target and alias.JPQLQuery.leftJoin(EntityPath<P> target) Create a left join with the given target.JPQLQuery.leftJoin(EntityPath<P> target, Path<P> alias) Create a left join with the given target and alias.JPQLQuery.leftJoin(MapExpression<?, P> target) Create a left join with the given target.JPQLQuery.leftJoin(MapExpression<?, P> target, Path<P> alias) Create a left join with the given target and alias.Add join conditions to the last added joinJPQLQuery.rightJoin(CollectionExpression<?, P> target) Create a right join with the given target.JPQLQuery.rightJoin(CollectionExpression<?, P> target, Path<P> alias) Create a right join with the given target and alias.JPQLQuery.rightJoin(EntityPath<P> target) Create a right join with the given target.JPQLQuery.rightJoin(EntityPath<P> target, Path<P> alias) Create a right join with the given target and alias.JPQLQuery.rightJoin(MapExpression<?, P> target) Create a right join with the given target.JPQLQuery.rightJoin(MapExpression<?, P> target, Path<P> alias) Create a right join with the given target and alias.JPAExpressions.select(Expression<?>... exprs) Create a new detached JPQLQuery instance with the given projectionstatic <T> JPQLQuery<T>JPAExpressions.select(Expression<T> expr) Create a new detached JPQLQuery instance with the given projectionJPQLQuery.select(Expression<?>... exprs) <U> JPQLQuery<U>JPQLQuery.select(Expression<U> expr) JPQLQueryFactory.select(Expression<?>... exprs) Create a new JPQLQuery instance with the given projection<T> JPQLQuery<T>JPQLQueryFactory.select(Expression<T> expr) Create a new JPQLQuery instance with the given projectionJPAExpressions.selectDistinct(Expression<?>... exprs) Create a new detached JPQLQuery instance with the given projectionstatic <T> JPQLQuery<T>JPAExpressions.selectDistinct(Expression<T> expr) Create a new detached JPQLQuery instance with the given projectionJPQLQueryFactory.selectDistinct(Expression<?>... exprs) Create a new JPQLQuery instance with the given projection<T> JPQLQuery<T>JPQLQueryFactory.selectDistinct(Expression<T> expr) Create a new JPQLQuery instance with the given projectionstatic <T> JPQLQuery<T>JPAExpressions.selectFrom(EntityPath<T> expr) Create a new detached JPQLQuery instance with the given projection<T> JPQLQuery<T>JPQLQueryFactory.selectFrom(EntityPath<T> from) Create a new JPQLQuery instance with the given source and projectionJPAExpressions.selectOne()Create a new detached JPQLQuery instance with the projection oneJPQLQueryFactory.selectOne()Create a new JPQLQuery instance with the projection oneJPAExpressions.selectZero()Create a new detached JPQLQuery instance with the projection zeroJPQLQueryFactory.selectZero()Create a new JPQLQuery instance with the projection zero -
Uses of JPQLQuery in com.querydsl.jpa.hibernate
Classes in com.querydsl.jpa.hibernate that implement JPQLQueryModifier and TypeClassDescriptionclassAbstractHibernateQuery<T,Q extends AbstractHibernateQuery<T, Q>> Abstract base class for Hibernate API based implementations of the JPQL interfaceclassHibernateQueryis the default implementation of the JPQLQuery interface for Hibernate -
Uses of JPQLQuery in com.querydsl.jpa.impl
Classes in com.querydsl.jpa.impl that implement JPQLQueryModifier and TypeClassDescriptionclassAbstractJPAQuery<T,Q extends AbstractJPAQuery<T, Q>> Abstract base class for JPA API based implementations of the JPQLQuery interfaceclassJPAQuery<T>JPAQueryis the default implementation of theJPQLQueryinterface for JPA