jOOQ
Hacker ApprovedShares rank 3 of 8 SQL query builders by recommenders
Praised for type-safe SQL in Java without ORM magic; some critics call it weaker than alternatives.
Praised for type-safe SQL in Java without ORM magic; some critics call it weaker than alternatives.
16 people gave an opinion
- recommend it
- 13
- criticize it
- 3
- approval share
- 81%
Recommended in 6 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: not recommended
- February 2026: not recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: not recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: not recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 13 people recommend itNeeds 10 or more, met.
- 4.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 6 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Type-safe SQL in Java
“it is a godsend because you can write guaranteed type-safe SQL using pure Java”
Comment from 22 Jun 2026 in “Code duplication is far cheaper than the wrong abstraction” “Much cleaner, shorter code and type safety with Postgres”
Comment from 21 Mar 2026 in “Java Is Fast. Your Code Might Not Be” Thin layer, little automagic
“It is a relatively unopinionated power tool, with minimal attempts at "automagic" behaviour.”
Comment from 1 Nov 2025 on Hacker News “it's easier to use a thin library like JOOQ for mapping”
Comment from 23 Dec 2025 in “The Rise of SQL:the second programming language everyone needs to know” Easy mapping with query builders
“I don't have any issue with mapping using these query builders like jooq”
Comment from 13 Jul 2026 in “What ORMs have taught me: just learn SQL (2014)” “it's easier to use a thin library like JOOQ for mapping”
Comment from 23 Dec 2025 in “The Rise of SQL:the second programming language everyone needs to know” Sweet spot among SQL libraries
“I find rust's sqlx or java's jooq to be hitting the sweet spot”
Comment from 4 Jul 2026 in “What ORMs have taught me: just learn SQL (2014)” “Still the best SQL generation library I've used.”
Comment from 20 Mar 2026 in “Java Is Fast. Your Code Might Not Be”
What people warn about
Each mark is one comment
Seen as weaker than alternatives
“jOOQ and Hibernate (and the rest in the ORM ecosystem) are pale shadows, exactly due to lacking language features”
Comment from 19 Jun 2026 in “Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28” “jooq is a poor knock-off compared to this”
Comment from 22 Jun 2026 in “Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28”
Other SQL query builders people recommend
The four most recommended other SQL query builders, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| sqlc | 20 | 4 | 83% | 9 | — | Approved |
| Ecto (Elixir) | 17 | 5 | 77% | 8 | — | Approved |
| jOOQThis page | 13 | 3 | 81% | 6 | — | Approved |
| sqlx | 13 | 4 | 76% | 8 | — | Approved |
| Kysely | 12 | 1 | 92% | 6 | — | Approved |
What people said
15 of the 18 comments that mention it, newest first. Each links to the original comment.
“make SQL more reusable/composable”
“the Java people and their jOOQ”
“I don't have any issue with mapping using these query builders like jooq”
“has the best explanatory article on the web about MULTISET imo”
“I find rust's sqlx or java's jooq to be hitting the sweet spot”
“jooq is a poor knock-off compared to this”
“it is a godsend because you can write guaranteed type-safe SQL using pure Java”
“jOOQ and Hibernate (and the rest in the ORM ecosystem) are pale shadows, exactly due to lacking language features”
“The easiest way is still too verbose.”
“Much cleaner, shorter code and type safety with Postgres”
“Still the best SQL generation library I've used.”
“which is just linq in Java”
“it's easier to use a thin library like JOOQ for mapping”
“something next-generation like JooQ”
“It is a relatively unopinionated power tool, with minimal attempts at "automagic" behaviour.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.