OSS TanbouSign in with GitHub

build JPA queries from ordinary Kotlin classes without generated metamodels

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
825
Primary language
Kotlin
License
Apache-2.0
Repository last updated
Oct 5, 2026
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

Fits Spring Data JPA applications that want less query boilerplate

It is useful when teams want to keep the JPA entity model while reducing the verbosity of Criteria APIs or string-heavy JPQL.

Sources: [1][2]

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. [1]Kotlin JDSL README(2026-10-06)
  2. [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. 1

    Get the source

    git clone --depth 1 https://github.com/line/kotlin-jdsl.git
  2. 2

    Enter the repository

    cd kotlin-jdsl
  3. 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
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?