
easy-query: The Most Powerful ORM for Java
If you only look at easy-query as "another Java ORM", you will almost certainly underestimate it. Java ORM has never really been one thing. Some teams live in Spring Data JPA , some add Querydsl when queries get harder, and some move toward jOOQ when SQL itself becomes the design center. My conclusion is simple: easy-query is not just trying to make querying nicer. It is trying to make Java business querying coherent. That difference matters more than it sounds. easy-query stands out because four things happen at the same time: Its type-safe DSL does not stop at field predicates. Its object mapping model does not stop at flat DTO projection. It has a surprising amount of practical functionality built in. Its implementation shows a lot of restraint around unnecessary runtime work. This post is about those four points. All examples below assume the common Spring Boot setup with easy-query-spring-boot-starter and an injected easyEntityQuery . 1. The real advantage is not "type safety" A l
Continue reading on Dev.to
Opens in a new tab



