# Kysely vs MyBatis

**Leader by Vioscale score:** Kysely

| Attribute | Kysely | MyBatis |
|---|---|---|
| **Vioscale score** | 70.3 (79% (high)) | 60.4 (42% (low)) |
| activity.commits_last_30d | 25 | 52 |
| adoption.dependent_repos | 1,155 | 87,034 |
| adoption.github_stars | 14,168 | 20,439 |
| adoption.package_downloads_weekly | 14,615,271 | - |
| deployment.options | `{"cloud":true,"self_hosted":true}` | - |
| description.long | A JavaScript and TypeScript SQL query builder that provides compile-time type safety and database schema validation. It works across multiple runtimes (Node, Deno, Bun, Cloudflare Workers, browsers) with zero runtime dependencies and emphasizes composable, type-safe queries over higher-level abstractions. | MyBatis is a Java framework that simplifies interaction with relational databases by allowing developers to write custom SQL and stored procedures while automatically mapping query results to Java objects, reducing boilerplate JDBC code. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"TypeScript, JavaScript (Node, Deno, Bun, Cloudflare Workers, browsers)","relations":true,"migrations":false,"studio_gui":false,"schema_first":true,"type_safe_queries":true,"connection_pooling":false}` | `{"raw_sql":true,"multi_db":true,"languages":"Java","relations":true}` |
| integrations.count | 21 | - |
| integrations.list | `[{"name":"Supabase"},{"name":"Cursor"},{"name":"Windsurf"},{"name":"GitHub Copilot"},{"name":"ChatGPT"},{"name":"Claude"},{"name":"Claude Code"},{"name":"AirTrail"},{"name":"AWS Blocks"},{"name":"Conar"},{"name":"EmbedPDF"},{"name":"Hot Updater"},{"name":"inlang"},{"name":"Notesnook"},{"name":"OpenClaw"},{"name":"Reflect"},{"name":"Sink"},{"name":"Stacks"},{"name":"StudioCMS"},{"name":"Tunarr"},{"name":"ZenStack"}]` | - |
| language.primary | TypeScript | Java |
| license.spdx | MIT | Apache-2.0 |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","summary":"Completely free and open source (MIT license)","freeTier":true,"sourceUrl":"https://kysely.dev","retrievedAt":"2026-08-14T08:37:15.404Z"}` | `{"type":"open_source","sourceUrl":"https://mybatis.org/mybatis-3","retrievedAt":"2026-08-14T08:36:59.708Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | 10 | 112 |
| release.history | `[{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.5","date":"2026-08-10T01:06:13Z","type":"stable","version":"v0.29.5"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.30.0-beta.1","date":"2026-07-26T17:34:07Z","type":"prerelease","version":"v0.30.0-beta.1"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.30.0-beta.0","date":"2026-07-25T12:45:33Z","type":"prerelease","version":"v0.30.0-beta.0"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.4","date":"2026-07-17T17:42:04Z","type":"stable","version":"v0.29.4"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.3","date":"2026-07-05T23:18:21Z","type":"stable","version":"v0.29.3"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.2","date":"2026-05-16T15:52:03Z","type":"stable","version":"v0.29.2"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.1","date":"2026-05-16T00:01:27Z","type":"stable","version":"v0.29.1"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.0","date":"2026-05-08T23:54:19Z","type":"stable","version":"v0.29.0"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.17","date":"2026-05-03T01:10:50Z","type":"stable","version":"v0.28.17"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.29.0-rc.0","date":"2026-04-24T20:13:08Z","type":"prerelease","version":"v0.29.0-rc.0"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.16","date":"2026-04-10T18:07:40Z","type":"stable","version":"v0.28.16"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.15","date":"2026-03-31T01:49:35Z","type":"stable","version":"v0.28.15"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.14","date":"2026-03-20T11:28:01Z","type":"stable","version":"v0.28.14"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.13","date":"2026-03-18T22:12:57Z","type":"stable","version":"v0.28.13"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.12","date":"2026-03-14T09:13:30Z","type":"stable","version":"v0.28.12"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.11","date":"2026-01-31T18:58:27Z","type":"stable","version":"v0.28.11"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.10","date":"2026-01-18T07:13:52Z","type":"stable","version":"v0.28.10"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.9","date":"2025-12-13T17:48:32Z","type":"stable","version":"v0.28.9"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.8","date":"2025-10-09T21:47:50Z","type":"stable","version":"v0.28.8"},{"url":"https://github.com/kysely-org/kysely/releases/tag/v0.28.7","date":"2025-09-14T15:37:33Z","type":"stable","version":"v0.28.7"}]` | `[{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.19","date":"2025-01-02T20:39:24Z","type":"stable","version":"mybatis-3.5.19"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.18","date":"2025-01-01T03:46:10Z","type":"stable","version":"mybatis-3.5.18"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.17","date":"2024-11-26T16:55:48Z","type":"stable","version":"mybatis-3.5.17"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.16","date":"2024-04-04T10:26:25Z","type":"stable","version":"mybatis-3.5.16"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.15","date":"2023-12-14T06:41:30Z","type":"stable","version":"mybatis-3.5.15"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.14","date":"2023-11-03T06:27:55Z","type":"stable","version":"mybatis-3.5.14"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.13","date":"2023-03-11T12:15:16Z","type":"stable","version":"mybatis-3.5.13"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.12","date":"2023-03-01T04:17:16Z","type":"stable","version":"mybatis-3.5.12"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.11","date":"2022-09-18T21:22:32Z","type":"stable","version":"mybatis-3.5.11"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.10","date":"2022-05-23T20:35:51Z","type":"stable","version":"mybatis-3.5.10"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.9","date":"2021-12-25T19:16:08Z","type":"stable","version":"mybatis-3.5.9"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.8","date":"2021-12-12T18:19:57Z","type":"stable","version":"mybatis-3.5.8"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.7","date":"2021-04-26T10:49:16Z","type":"stable","version":"mybatis-3.5.7"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.6","date":"2020-10-06T20:57:52Z","type":"stable","version":"mybatis-3.5.6"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.5","date":"2020-06-04T15:39:59Z","type":"stable","version":"mybatis-3.5.5"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.4","date":"2020-02-03T01:47:26Z","type":"stable","version":"mybatis-3.5.4"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.3","date":"2019-10-20T11:21:16Z","type":"stable","version":"mybatis-3.5.3"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.2","date":"2019-07-15T07:49:38Z","type":"stable","version":"mybatis-3.5.2"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.1","date":"2019-04-07T11:26:32Z","type":"stable","version":"mybatis-3.5.1"},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.0","date":"2019-01-20T18:13:18Z","type":"stable","version":"mybatis-3.5.0"}]` |
| reliability.status_page | - | yes |
| security.scorecard | 7.3 | 6.1 |
| security.vulnerabilities | `{"count":4,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=kysely&per_page=100","last_12m":4,"max_severity":"HIGH"}` | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=maven&package_name=org.mybatis%3Amybatis&per_page=100","last_12m":0,"max_severity":"HIGH"}` |

## Capabilities (ORM & Database Tools)

| Capability | Kysely | MyBatis |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | ✓ | - |
| Schema migrations | ✗ | - |
| Relations / joins API | ✓ | ✓ |
| Languages | TypeScript, JavaScript (Node, Deno, Bun, Cloudflare Workers, browsers) | Java |
| **Modelling** |  |  |
| Schema-first modelling | ✓ | - |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | ✓ |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | ✗ | - |
| **DX** |  |  |
| Data browser / studio | ✗ | - |

*Source: Vioscale. Generated 2026-09-01T17:07:50.640Z. "-" = undocumented, not absent.*
