I just figured out that if I 
hook SaveEventListeners+UpdateEventListeners+SaveOrUpdateEventListeners 
instead of PreInsertEventListeners+PreUpdateEventListeners than it starts to 
work - the test passes. So I wonder why everyone suggests to use the 
pre-insert/update events (eg. 
http://ayende.com/Blog/archive/2009/04/29/nhibernate-ipreupdateeventlistener-amp-ipreinserteventlistener.aspx)?
 
Or is this just some bug in NH 3.0.0.1003 pre-insert/update events 
implementation and the test case in my first post should work?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to