I've written an ORM for clojure (unreleased). It's 1k LoC, which is huge in clojure.
Let me tell you, I'm sick of writing ORMs, I'm sick of using buggy, abstraction-leaking ORMs. I'm sick of the need for ORMs. Relational DBs should provide ORM as a native, first-class abstraction. The fact that every programming language has ORMs, and that people are starting to adopt Mongo over say, postgres purely because it doesn't need ORM and has a nicer query interface is telling.
Let me tell you, I'm sick of writing ORMs, I'm sick of using buggy, abstraction-leaking ORMs. I'm sick of the need for ORMs. Relational DBs should provide ORM as a native, first-class abstraction. The fact that every programming language has ORMs, and that people are starting to adopt Mongo over say, postgres purely because it doesn't need ORM and has a nicer query interface is telling.
Relational DBs need to get with the times.