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

Elements of the configuration

All important aspects of the runtime behavior of NHibernate are configurable by one of the methods described in detail later on in this chapter.

Which database do we want to use?

This is probably the single most important aspect of our configuration. We have to tell NHibernate what database product we are going to use, such as SQL Server, Oracle, DB/2, MySQL, and so on. As there is no such thing as a "default database", we always have to provide these details in our configuration.

Besides the diversity of database products, each database product is also available in different versions, such as SQL Server 2000, 2005, or 2008, or Oracle 9i, 10i, or 11g, and so on.

Furthermore, we need to authenticate ourselves when accessing ...

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