More on databases and business logic
This particular entry in the “forever war” of whether to use object-relational mapping or stored procedures does a better job than most in these ways:
- It changes the argument from "either-or" to a situational one.
- It broadens the scope of database objects in the discussion beyond stored procedures to include functions, triggers, views, constraints, and referential integrity.
- It rates the suitability of each database object to a particular task.