
easy-query: A Type-Safe Java ORM That Actually Handles the Hard Parts
There's a class of problems every Java backend developer eventually hits: your ORM handles simple CRUD just fine, but the moment you need sharding, window functions, conditional aggregation, multi-tenancy filtering, or differential updates, you're either writing raw SQL or fighting the framework. Easy-Query is a Java/Kotlin ORM designed from the ground up to handle these "hard parts" with a type-safe, chainable API. It supports 12+ databases, requires zero XML configuration, and provides capabilities that go well beyond what JPA/Hibernate or JOOQ offer out of the box. This article is a comprehensive tour of what easy-query can do. Table of Contents Setup Entity Definition & Proxy Generation Querying: The Chainable DSL Implicit Relationships Projections & VO Mapping CRUD Operations Change Tracking & Differential Updates OLAP & Analytics Logical Delete Interceptors & Multi-Tenancy Column Encryption Dynamic Table Names Sharding Pagination Code First Supported Databases Setup Spring Boot:
Continue reading on Dev.to
Opens in a new tab




