AR - Maintaining and reactivating multiple SessionScopes

2009-09-14 Thread Dan Malcolm
Hi I am making a change to an existing ActiveRecord-based winforms application. This involves allowing the user to have several screens open at once, each of which manages a separate business conversation. Each screen instance needs its own SessionScope. On a different NHibernate project, I've

Re: AR question - deep hierarchy....

2009-07-08 Thread Dan Malcolm
You could look into enabling insert/update statement batching within NHibernate, as outlined here: http://davybrion.com/blog/2008/10/batching-nhibernates-dm-statements/ You may need to change your stategy for id generation though: