Ross ROSS = Recommend OSS · open-source software intelligence for agents

kotlin-orm/ktorm

A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs. observed · 2026-08-28

github.com/kotlin-orm/ktorm · homepage · Kotlin · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

80/100

  • Activity 88
  • Release rhythm 57
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 327.0
  • age_days: 2833
  • days_rel: 74
  • days_push: 74
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

2343 stars · 161 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Ktorm is a lightweight ORM framework for Kotlin built directly on pure JDBC, offering a strong-typed SQL DSL and entity sequence APIs. It requires no configuration files, XML, or annotations, and generates SQL automatically with fine-grained control.

Use cases

  • write type-safe SQL queries in Kotlin without XML or annotations
  • replace MyBatis with a Kotlin-native ORM
  • query databases using Kotlin collection-style sequence APIs
  • map database tables to Kotlin entities with minimal boilerplate
  • add database dialect support for MySQL, PostgreSQL, Oracle, SQLite, or SQL Server
  • catch SQL bugs at compile time with a strong-typed DSL

When to choose

  • you're building a Kotlin/JVM application that talks to a relational database
  • you want compile-time safety for SQL without annotations or codegen-heavy frameworks
  • you prefer lightweight libraries with no third-party dependencies
  • you want query code that reads like Kotlin's native collection APIs

When to avoid

  • you need a full-featured ORM with lazy loading, caching, and complex relationship management like Hibernate
  • your team works primarily in Java rather than Kotlin
  • you rely on JPA annotations and existing JPA entity mappings
  • you need multi-tenant or advanced ORM features beyond Ktorm's scope

Facets

library · maturity active

orm database database-driver serialization databases backend web-development developer-tools jvm cross-platform kotlin sql-dsl jdbc entity-sequence type-safe-queries no-annotations

3 sources

Member repositories

RepositoryRoleHealth v2
kotlin-orm/ktormmain80

For agents

markdown · JSON · MCP: product_card(name="kotlin-orm/ktorm")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem