Top "Querydsl" questions

Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, MongoDB and SQL in Java.

How to add Query Hints to spring data jpa querydsl queries?

I'm using Spring Data JPA 1.7.1 I was trying pass query hints (e.g. for Hibernate query caching) to queries when …

spring hibernate jpa spring-data-jpa querydsl
How do you specify multi-column OrderSpecifier for use in SpringData and QueryDsl? Is this possible

So I have the following query below: public Iterable<Dealer> findAll(Dealer dealer) { QDealer qdealer = QDealer.dealer; BooleanExpression …

spring-data-jpa querydsl
Generating JPA2 Metamodel from a Gradle build script

I'm trying to set up a Gradle build script for a new project. That project will use JPA 2 along with …

gradle apt querydsl
QueryDSL returning max value

I want to return the max value using QueryDSL. With this query I return the interval which eventid is equal …

java hibernate jpa querydsl spring-orm
How to count distinct items on specific fields in QueryDSL

Edit: it turns out that JPA can't express this. The solution was to rewrite in SQL. I'm using QueryDSL to …

java jpa-2.0 querydsl
Spring Data + QueryDSL empty predicate + Predicate chaining

let me get straight to the point. I am using Spring Data JPA with QueryDSL in a project and I …

spring predicate querydsl
QueryDSL joins and subqueries with native SQL

I use Spring Data and QueryDSL 3.2.4 and I want to implement the following SQL query with QueryDSLs native SQL API: …

java spring-data querydsl native-sql
The type com.querydsl.core.types.Predicate cannot be resolved. It is indirectly referenced from required .class files

I have a Maven Spring-Hibernate-JPA-QueryDsl web application in Eclipse that is giving the error The type com.querydsl.core.types.…

hibernate spring-data spring-data-jpa querydsl
QueryDSL Predicate SetPath.any with multiple conditions

I have a simple entity with one to many relationship @Entity // and other @ stuff public class Member { @Id private Long …

java spring-data-jpa querydsl
QueryDsl - case expression with string value

QueryDsl 3.3.4 Hibernate 3.6.10-Final I have two entities: public class Document { private Confirmation confirmation; } public class Confirmation { ... } I need a query …

java hibernate querydsl