Use Exposed with Vert.x SQL Client

12 views
Skip to first unread message

Yongshun Ye

unread,
Mar 31, 2026, 11:43:59 AM (5 days ago) Mar 31
to vert.x
Hi everyone! I wanted to share a library I’ve been working on: exposed-vertx-sql-client. As the name suggests, it lets you use Exposed with the Vert.x SQL client, bringing together type-safety and performance.

I originally open-sourced this in 2022 as a rough prototype pulled from my own projects. Now that Exposed has hit 1.0.0, I’ve given it a major polish. It’s ready to try if you’re looking for a reactive way to use Exposed. For Vert.x users, hopefully in the age of AI agents, a type-safe DSL is more hallucination-proof and review-friendly than working with Vert.x numbered tuples, and Exposed provides an excellent choice. And for Exposed users, you can now switch to a much more performant framework while keeping your database logic intact.

Key updates:
Since TFB recently sunset, you can verify this yourself by cloning the repo and running:
`./tfb --test vertx-web-kotlinx-exposed-vertx-sql-client-postgresql vertx-web-kotlinx-postgresql`. I also contributed to the `vertx-web-kotlinx*` and `ktor-exposed-*` portions of TFB, so the comparison is apples-to-apples.

As Exposed may continue to evolve, the APIs aren’t "perfect" yet and might see minor changes, but it's stable enough to try out. I’d love to hear your feedback—stars, issues, and PRs are all welcome!
Reply all
Reply to author
Forward
0 new messages