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 ...
Get NHibernate in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.