4 ms·
> I've been noodling on a novel SQL JDBC wrapper thing. For ages now. Input stock SQL and output typesafe wrappers. I use it for all my own work. It's stupid si
by armchairhacker 3y ago
> I've been noodling on a novel SQL JDBC wrapper thing. For ages now. Input stock SQL and output typesafe wrappers. I use it for all my own work. It's stupid simple and easy.
Just wanted to say this seems like how I imagine using SQL. It’s well-known that ORMs are a bad abstraction. Although given that it’s well-known, there’s already a lot of alternate solutions, so I’m interested what yours is and why people may be “befuddled”.
- specialist 3y agoConverts normal SQL DML statements into prepared statements and type-safe wrappers. For Java, that means subclassing PreparedStatement and ResultSet. No templates, maps, annotations, DSL. Just normal SQL. Apologies, a few weeks ago, I started yak shaving while implementing the build stuff (eg maven plugin). I'll try to focus, ship something beta sooner than later.