O'Reilly logo

NHibernate in Action by Tobin Harris, Pierre Henri Kuaté, Gavin King, Christian Bauer

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. Working with persistent objects

This chapter covers

  • The lifecycle of objects in an NHibernate application
  • Using the session persistence manager
  • Transitive persistence
  • Efficient fetching strategy

You now understand how NHibernate and ORM solve the static, structural aspects of the object/relational mismatch introduced in section 1.3.1. More specifically, you learned how object-oriented structures can be mapped to relational database structures to address issues of granularity, identity, inheritance, polymorphism, and associations.

This chapter covers another crucial subject—the dynamic, behavioral aspects of the object/relational mismatch. Success with NHibernate will not be guaranteed by simply mapping your domain classes to ...

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