On this page
Overview
Kotlin JDSL is a Kotlin library for query building and execution. It uses ordinary Kotlin classes and built-in language features without requiring annotation processors or generated metamodels, targeting JPA/JPQL query workflows.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Build queries without generated metamodels or annotation processors
Existing Kotlin classes can be used directly so query expressions do not depend on generated model code.
Sources: [1]
Express JPA and JPQL queries through a Kotlin DSL
The project focuses on JPA and JPQL and aims to make both query construction and execution easier from Kotlin.
Sources: [1]
Best fit
Before adoption
Version 3.9.0 adds Spring Boot 4 compatibility
The 3.9.0 release adds support for the Spring Data JPA Boot 4 proxy bean, so Spring Boot major upgrades should be checked against the matching integration version.
Sources: [2]
The README lists Java 8+ and Kotlin 1.7+ as user requirements
Those are the library's documented minimums, while the selected Spring and JPA stack may impose newer runtime requirements.
Sources: [1]
Official sources
- [1]Kotlin JDSL README(2026-10-06)
- [2]Kotlin JDSL 3.9.0 release(2026-10-06)
Supplemental curator note
It fits Kotlin backends that want to keep JPA while reducing Criteria API boilerplate. Version 3.9.0 adds Spring Boot 4 compatibility for the Spring Data JPA proxy bean.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/line/kotlin-jdsl.git - 2
Enter the repository
cd kotlin-jdsl - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
825 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 2
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- kotlin
- jpa
- dsl
- jpql
- Stars
- 825
- Forks
- 103
- Watchers
- 14
- Open issues
- 3
- Contributors
- 33
- Owner type
- Organization
- Primary language
- Kotlin
- License
- Apache-2.0
- Repository last updated
- Oct 5, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Tabularis5,115 Stars
2 shared tag(s) · 2 shared category(s)
combine SQL editing, notebooks, database plugins, and MCP in one desktop workspace
TypeScript - mysql22,274 Stars
2 shared tag(s) · 2 shared category(s)
connect Ruby to MySQL or MariaDB and handle SQL queries, prepared statements, and streaming results
Ruby - Spring Data JPA3,287 Stars
6 shared tag(s) · 2 shared category(s)
derive JPA CRUD, finder, pagination, and auditing behavior from repository interfaces
Java - Komapper344 Stars
5 shared tag(s) · 2 shared category(s) · Same language
unify JDBC and R2DBC with a Kotlin DSL and compile-time metamodels
Kotlin - Ktorm2,345 Stars
4 shared tag(s) · 2 shared category(s) · Same language
use strongly typed SQL and sequence-style entity APIs on pure JDBC
Kotlin - Spring Data Redis1,874 Stars
4 shared tag(s) · 2 shared category(s)
integrate Redis into Spring through templates, repositories, Pub/Sub, and reactive APIs
Java
Report incorrect information
Tell us if any listing information is incorrect or outdated.