Re:How Hibernate Almost Ruined My Career
by carsongross on Thursday February 16, 2017 @08:46PM
(#13665272)
A long time ago, in a programming language now forgotten (gosu) some interns and I created a SQL typeloader that allowed you to define your domain in SQL DDL files and then write query files in SQL that were accessible, type safe, directly from Gosu:
https://github.com/gosu-lang/ragnardb
https://github.com/gosu-lang/ragnardb-test
No codegen, just made SQL resources a top level type safe resource you could work with.
I liked the idea a lot.