I'm in the object oriented architects camp. It's not necessarily a crime to put code in the database, as long as you understand the caveats that go along with that. Here are some:
- It's not debuggable
- It's not subject to source control
- Permissions on your two sets of code will be different
- It will make it more difficult to track where an error in the data came from if you're accessing info in the database from both places