Declarative JDBC
summary
A tiny library called djdbc wraps JDBC with three concrete abstractions: a statement abstraction that bundles SQL plus explicit encoders and decoders (no reflection, no annotations), a composable transaction abstraction that retries on serialization conflicts (Postgres 4001) and forbids external side effects, and a simple connection pool API. Examples live in the test suite on GitHub, the design borrows hasql ideas used by PostgREST, and the implementation claims to keep full SQL power while reducing intertwined concerns to a few testable units.
AI-written summary · about
