For an object relational mapping library for Kotlin, the strongest matches are kotlin-orm/ktorm (Ktorm is a lightweight, type-safe ORM specifically built for), ebean-orm/ebean (Ebean is a mature ORM framework that supports Kotlin) and agrosner/dbflow (DBFlow is an object-relational mapping library that provides type-safe). jetbrains/exposed and jooq/jooq round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Curamos repositorios de código abierto en GitHub que coinciden con “best kotlin orm libraries”. Los resultados están clasificados por relevancia según tu búsqueda; usa los filtros de abajo para acotar o refina con IA.
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
Ktorm is a lightweight, type-safe ORM specifically built for Kotlin that provides a powerful DSL for database interaction and entity mapping, though it lacks native built-in support for coroutines and automated schema migrations.
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
Ebean is a mature ORM framework that supports Kotlin through its query builders and metadata-driven mapping, though it is primarily a Java-centric library rather than one built specifically for Kotlin's idiomatic features.
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
DBFlow is an object-relational mapping library that provides type-safe query building and entity mapping for Kotlin, though it is specifically optimized for Android and SQLite rather than general-purpose multi-database environments.
Kotlin SQL Framework
Exposed is a comprehensive Kotlin-native SQL framework that provides a type-safe DSL, coroutine support, and robust schema migration tools, making it the flagship ORM library for the Kotlin ecosystem.
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
jOOQ is a powerful, type-safe SQL query builder and code generator that provides excellent Kotlin support through its fluent DSL and reactive features, though it functions as a SQL-centric mapper rather than a traditional JPA-style ORM.