Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

A Quick introduction to Querydsl compared to JPA 2 Criteria Api

Querydsl is a Java open-source project that supports statically typed queries. It provides a typesafe querying layer on top of JPA, JDO, JDBC and other backends through the use of various modules. The framework uses an annotation processor to generate Java types based on JPA entities. In this short article I’ll be focusing on Querydsl’s queries support for JPA and how it can be used as an alternative to Criteria Api. Of course the framework also allows to modify and delete records by JPAQueryFactory methods.

Marcin Kilijański

|

19 Feb 2020

  Java Querydsl SQL JPA Maven 

Read more
3

A Quick introduction to Querydsl compared to JPA 2 Criteria Api

19 Feb 2020 | Marcin Kilijański

  Java Querydsl SQL JPA Maven 

Querydsl is a Java open-source project that supports statically typed queries. It provides a typesafe querying layer on top of JPA, JDO, JDBC and other backends through the use of various modules. The framework uses an annotation processor to generate Java types based on JPA entities. In this short article I’ll be focusing on Querydsl’s queries support for JPA and how it can be used as an alternative to Criteria Api. Of course the framework also allows to modify and delete records by JPAQueryFactory methods.

Read more