Omg.. this is getting worse.
SQL is a DSL to deal with sets of data. Unless the application you're writing is a database management app, you're pretty much doing it really wrong, I'm sorry to tell you that.
SQL is a DSL to deal with sets of data. Unless the application you're writing is a database management app, you're pretty much doing it really wrong, I'm sorry to tell you that.
What's wrong with this?
Can you imagine process of billing campaign?
Than try it in Hibernated database and in raw SQL.
Pure SQL will be thousands times faster.
ORMs are good only for smth like Django Admin