O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Who owns the database?

When writing an application, one of the first things to do is to make sure that our application owns the database. Having this boundary condition enforced significantly decreases the complexity of our solution and saves us from writing a lot of unnecessary error-handling code.

Once our solution is in production, we don't let any other application integrate with our application on the database level; that is, we don't give any other application direct access to our tables and views, or more generally speaking, to our raw data.

These are bold statements, but experience with real projects more than justifies them. They are based on personal experiences throughout many small, mid-size to enterprise level projects. A lot of problems ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required