I agree. Maybe I should have been clearer on my views. ORMs are a great tool; the way they are used with the leaky abstraction is what I have a problem with.
Restricted to the model layer, they're entirely worth it and provide lots of help.
Restricted to the model layer, they're entirely worth it and provide lots of help.
You're right that it doesn't provide all the abstraction you probably want, but it easily gives you a toehold on which to build that abstraction. Doing it from scratch, by hand is often a much worse place to start.