in reply to Re^3: Input on Lightweight SQL Query Templating?
in thread Input on Lightweight SQL Query Storage?

Something isn't right about that.

If you don't like writing the same pattern over and over again, use an object and inject/pass some behaviour. Take a look at Spring Dao Templating.

If you don't like writing set calc on your data, but rather write code, maybe you have a small point -- but you're gonna write something, be it SQL or ORM code.

  • Comment on Re^4: Input on Lightweight SQL Query Templating?

Replies are listed 'Best First'.
Re^5: Input on Lightweight SQL Query Templating?
by perrin (Chancellor) on Apr 28, 2009 at 13:42 UTC
    You're misinterpreting something. I don't need to write my own object, since the ORM code already exists. It handles the repetitive part of the work.