O'Reilly logo

Learning NHibernate 4 by Suhas Chatekar

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

Chapter 4. NHibernate Warm-up

After mappings, configuration is another important concept we should learn before we start using NHibernate for storing/retrieving data from database. In this chapter, we would unfold the knowledge of NHibernate configuration.

We will begin with NHibernate configuration that we had briefly looked at in Chapter 2, Let's Build a Simple Application, when we wrote our first unit test. I had asked you to ignore that piece of code then. Well, we will look in detail now what exactly that code did for us. After this elaboration has enlightened us of NHibernate configuration, we will look at different ways in which NHibernate can be configured. That will be followed by important and commonly used configuration options that ...

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