Howdy y'all,

we create an audit log in our application using event listeners.
E.g. in the OnPostInsert method we are writing log entries to the DB,
getting a secondary session calling ISession.GetSession(). So far so
good.
Now the problem is, if we are writing a bigger number of entities of
one kind, batch inserts are broken, because we always got one regular
insert (for the entity) followed by an audit log insert.
Is there any NHibernate feature we can use to get around this or are
there any kind of best practices on how to write the audit log
differently?

Best regards
void*

-- 
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