#122122nd of 354 in Backends, databases and hosting

exposed

Kotlin ORM with a typesafe SQL DSL and DAO API over JDBC or R2DBC

Releases and problems feed (RSS)

Stars
9.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Kotlin
Stars, last 29 weeks+145
2 May 2026: 9,159 stars9 May 2026: 9,166 stars16 May 2026: 9,174 stars23 May 2026: 9,184 stars30 May 2026: 9,188 stars6 Jun 2026: 9,196 stars13 Jun 2026: 9,202 stars20 Jun 2026: 9,207 stars27 Jun 2026: 9,211 stars4 Jul 2026: 9,218 stars11 Jul 2026: 9,221 stars18 Jul 2026: 9,226 stars25 Jul 2026: 9,232 stars1 Aug 2026: 9,237 stars8 Aug 2026: 9,241 stars15 Aug 2026: 9,248 stars22 Aug 2026: 9,252 stars29 Aug 2026: 9,256 stars5 Sept 2026: 9,261 stars12 Sept 2026: 9,264 stars19 Sept 2026: 9,265 stars26 Sept 2026: 9,269 stars3 Oct 2026: 9,272 stars10 Oct 2026: 9,281 stars17 Oct 2026: 9,285 stars24 Oct 2026: 9,289 stars31 Oct 2026: 9,292 stars7 Nov 2026: 9,295 stars14 Nov 2026: 9,302 stars21 Nov 2026: 9,304 stars

9,159 on 2 May 20269,304 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Exposed is a JetBrains SQL library for Kotlin that offers a typesafe DSL wrapping SQL and a lightweight DAO API. It runs on JDBC or R2DBC (since 1.0.0) and supports H2, MariaDB, MySQL, Oracle, PostgreSQL, Redshift (JDBC only), SQL Server and SQLite. Extension modules cover date-time types, JSON, encryption, migrations, and Spring Boot 3 and 4 starters. It contains no AI features.

Who it is for: Kotlin and JVM developers who need a typed SQL layer for their backend

Strengths

  • Supports both JDBC and R2DBC drivers, with separate migration modules for each
  • Eight database engines supported, so switching engines needs few or no code changes
  • Modular artifacts on Maven Central, including Spring Boot 3 and 4 starters
  • Both a SQL-like DSL and an entity-based DAO API are available

Weaknesses

  • Kotlin-only library, requires Kotlin 2.2+ and a JVM
  • DAO over R2DBC (exposed-dao-r2dbc) is an experimental preview and its API may change
  • Redshift is supported over JDBC only, not R2DBC
  • Not an AI project and not a deployable backend service; it is a library only

What it needs

  • no GPU
  • Needs Kotlin 2.2+, JDK 8+ (JDK 11+ for R2DBC, JDK 17+ for Spring modules), JDBC or R2DBC database driver

What changed

  1. 1.5.1 ↗ (opens in a new tab)Security fix

    CVE-2026-108474. “Fixes CVE-2026-108474: SQL injection through the string arguments”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backends, databases and hosting

See all 354
Also in Backends, databases and hosting
RankProjectScore
#120cal.diySelf-hosted scheduling app, MIT fork of Cal.com without enterprise features50.4k starsMIT77 out of 100
#121teableAirtable-style collaborative database on PostgreSQL with AI chat and app builder Live demo ↗ (opens in a new tab)22k starscustom license77 out of 100
#123angularfireAngular library wrapping the Firebase JS SDK with DI and RxJS observables Live demo ↗ (opens in a new tab)7.8k starsMIT77 out of 100
#124rainbondSelf-hosted platform that deploys apps to Kubernetes through a web console Live demo ↗ (opens in a new tab)6.3k starscustom license77 out of 100
#125openfgaFine-grained authorization server modeled on Google Zanzibar6.2k starsApache-2.077 out of 100