aaberg/sql2o
sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- 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: 59
- age_days: 5586
- days_rel: 7
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
1168 stars · 226 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sql2o is a small Java library that maps JDBC query results directly into POJOs with named parameter support, acting like an ORM without SQL generation. It simplifies database interaction to a few lines of code while keeping full control over SQL.
Use cases
- map sql query results to java objects
- execute jdbc queries without resultset boilerplate
- run parameterized sql with named parameters
- manage database transactions in java
- lightweight alternative to full orm frameworks
When to choose
- you want to write your own sql but avoid resultset mapping boilerplate
- you need a lightweight database layer without orm overhead
- you prefer named parameters and simple transactions over jpa complexity
When to avoid
- you need automatic sql generation, schema management, or lazy loading
- you want a full orm with entity relationships and caching
- you are not on the jvm or not using a jdbc-compliant database
Facets
library · maturity active
database orm database-driver databases backend developer-tools jvm cross-platform jdbc pojo-mapping sql named-parameters lightweight
2 sources
- readme: https://github.com/aaberg/sql2o · fetched 2026-08-28 · 35f332a213a2
- homepage: http://sql2o.org · fetched 2026-08-29 · 14ddf3b29dda
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aaberg/sql2o | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem