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

Summary

We learned a lot in this chapter about how we can access the database through NHibernate and create, update, or delete objects in the database. We have also discussed the most basic methods of retrieving existing data from the database.

Specifically, we covered:

  • What a NHibernate session is and how we use it
  • Why we want to use transactions
  • The session factory and how we can create one
  • Managing sessions in various types of applications

Now that we've learned so much about sessions and how to access the database through a session to manipulate data, we are ready to move on and discuss (unit) testing, which will be the main topic of the next chapter.

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