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.

Spring-Data-JPA with QueryDslPredicateExecutor and Joining into a collection

Let's say I have a data model like this (pseudocode): @Entity Person { @OneToMany List<PersonAttribute> attributes; } @Entity PersonAttribute { @…

java spring-data spring-data-jpa querydsl
QueryDSL / JPQL : how to build a join query?

I've tried to read through the QueryDSL docs but I am still very confused. I'm accustomed to writing a lot …

jpa jpql querydsl
What is the difference between must and filter in Query DSL in elasticsearch?

I am new to elastic search and I am confused between must and filter. I want to perform an and …

elasticsearch filter querydsl
How can I convert a spring data Sort to a querydsl OrderSpecifier?

This is basically the opposite of this: How to do a paged QueryDSL query with Spring JPA? This is for …

spring-data querydsl
Handle optional parameters in QueryDSL

I am using QueryDSL with SpringData. I have Table say, Employee and I have created entity class say, EmployeeEntity I …

java spring-data querydsl
Querydsl set fetch mode in a query

I have a situation where a Card entity has a foreign key to a Person. public class Card implements java.…

java hibernate querydsl
How to use order by and Limit in Spring Data JPA using QueryDSL

I am using Spring Data JPA with a RDBMS in my project. I have a requirement where I have to …

java database querydsl spring-data
Spring Data JPA - Specifications and Querydsl

I'm trying to integrate QueryDSL to my existing project with Spring Data, I've tried different samples and now I've decided …

spring maven jpa querydsl
querydsl transformer group by count

I am stuck trying to get a query (QueryDSL) to work that gives me a count of distinct categories. For …

java sql querydsl
How to get fully materialized query from querydsl

I am trying to use querydsl for building dynamic queries for dynamic schemas. I am trying to get just the …

java sql database querydsl database-agnostic