# Kotlin ORM Libraries

> AI-ranked search results for `best kotlin orm libraries` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 108 total matches; showing the top 5.

Explore on the web: https://awesome-repositories.com/q/best-kotlin-orm-libraries

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/best-kotlin-orm-libraries).**

## Results

- [kotlin-orm/ktorm](https://awesome-repositories.com/repository/kotlin-orm-ktorm.md) (2,336 ⭐) — Ktorm is a lightweight object-relational mapping framework for Kotlin that provides a type-safe SQL domain-specific language and functional sequence APIs for database interaction. It enables developers to define database schemas and map relational tables to interface-based objects, ensuring that data persistence and retrieval are handled through strongly-typed expressions.

The framework distinguishes itself by utilizing a functional, collection-style approach to query construction, allowing developers to chain operations like filtering, sorting, and aggregation using idiomatic language patter
- [ebean-orm/ebean](https://awesome-repositories.com/repository/ebean-orm-ebean.md) (1,523 ⭐) — Ebean is a Java object-relational mapping framework designed to simplify database persistence through automated query generation, schema migration, and transaction management. It uses metadata-driven mapping and bytecode enhancement to bridge the gap between application objects and relational database tables, providing a persistent layer that handles complex data interactions while maintaining consistency across unit-of-work boundaries.

The framework distinguishes itself through its focus on developer productivity and performance optimization. It provides type-safe query builders that generat
- [agrosner/dbflow](https://awesome-repositories.com/repository/agrosner-dbflow.md) (4,849 ⭐) — DBFlow is an object-relational mapping library for Android that maps Java objects to SQLite databases. It serves as a persistence layer designed to reduce manual boilerplate code through automated database access and entity mapping.

The project distinguishes itself with a type-safe query builder that uses a fluid interface to construct queries with compile-time checks. It provides transparent file-level encryption for securing sensitive data and a reactive wrapper that streams database changes to subscribers for real-time updates.

Additional capabilities include asynchronous query execution
- [jetbrains/exposed](https://awesome-repositories.com/repository/jetbrains-exposed.md) (9,255 ⭐) — Kotlin SQL Framework
- [jooq/jooq](https://awesome-repositories.com/repository/jooq-jooq.md) (6,666 ⭐) — jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f
