Summer of NHibernate Session 12: Detached Objects, Detached Criteria, and Working Without a Session is available

The latest installment of the Summer of NHibernate screencast series is now available for immediate download from the main site.

In this screencast we explore how to detach persistent objects from an NHibernate session instance, work with them, and then reattach them to another session so that they can be subsequently persisted by the new session.  We take a look at understanding NHIbernate’s dirty-tracking capabilities, its power, its limits, and how this relates to detached objects.  This all lays the groundwork for an upcoming session in which we explore managing session lifecycle in stateless web applications.

We also dig into NHIbernate’s support for detached criteria, look at how this can radically increase the flexibility of the code in our data-access-layer, and begin to explore ways to develop reusable NHibernate-enabled data-access-code that enables us to travel down a path of refactoring our general data-access-class into object-specific repositories using a much more extensible and maintainable model.

As always, questions, comments, and feedback are encouraged~!