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

mybatis/mybatis-dynamic-sql

SQL DSL (Domain Specific Language) for Kotlin and Java. Supports rendering for MyBatis or Spring JDBC Templates observed · 2026-08-28

github.com/mybatis/mybatis-dynamic-sql · homepage · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 99
  • Release rhythm 42
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 3582
  • days_rel: 175
  • days_push: 9
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1157 stars · 218 forks observed · 2026-08-28

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

A typesafe SQL DSL library for Java and Kotlin that generates complete SELECT, INSERT, UPDATE, and DELETE statements with flexible WHERE clauses. It renders SQL and matching parameters for use with MyBatis3 or Spring's JDBC templates, including an idiomatic Kotlin DSL.

Use cases

  • build typesafe dynamic SQL queries in Java or Kotlin
  • generate SQL statements for MyBatis mappers
  • generate SQL for Spring NamedParameterJDBCTemplate
  • write flexible search queries with optional criteria
  • avoid string-concatenated SQL and SQL injection risks
  • build complex WHERE clauses with and/or, in, like, between, and subqueries

When to choose

  • you use MyBatis or Spring JDBC and want typesafe, expressive SQL generation
  • you want dynamic queries where conditions are included only when values are present
  • you prefer a SQL-like DSL over string templates or full ORM abstractions
  • you want idiomatic Kotlin DSL support for SQL

When to avoid

  • you need a full ORM with entity persistence, caching, and relationship management
  • you don't use MyBatis or Spring JDBC as your execution runtime
  • you're not on the JVM (Java 17+ for v2, Java 8 for 1.x)

Facets

library · maturity active

orm database serialization developer-tools databases backend web-development developer-tools jvm cross-platform sql-dsl sql-generation mybatis spring-jdbc kotlin-dsl typesafe-sql query-builder

10 sources

Member repositories

RepositoryRoleHealth v2
mybatis/mybatis-dynamic-sqlmain79

For agents

markdown · JSON · MCP: product_card(name="mybatis/mybatis-dynamic-sql")

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