Show HN: Monolith, live typed queries on real Postgres for Java (no JDBC)
Category: library
Tags: java, postgresql, reactive, query-generation, annotation-processor, libpq
Score: 7.3/10 (Innovation: 8, Technical: 8, Documentation: 7, Utility: 6)
Monolith generates live, typed SQL queries over Postgres from Java records using compile-time annotation processing, combining reactive subscriptions with real relational databases. It eliminates JDBC by directly calling libpq via Panama FFM, and provides a simple way to push UI updates from database changes without sacrificing SQL features. The project is experimental but offers a fresh approach to bridging Java and Postgres reactivity.
Target audience: backend devs
Repository: https://github.com/singlr-ai/monolith · Java · MIT
View on Hacker News