Hi, I have changed locally my Envers project to inject a custom session factory in order to support 2 separate DBs one for auditing and for the productive.
*The session factory injection looks something like this:* this.SetEnversProperty(ConfigurationKey.CustomSessionFactory, typeof (HistoricSessionFactory)); *and the constructor of the GlobalConfiguration (namespace NHibernate.Envers.Configuration) has:* CustomSessionFactory = ConfigurationKey.CustomSessionFactory.ToInstance<ISessionFactory>(properties); With that, the usage of separate DBs is achieved. Extra work is still to be done of course. *My question is*, what would speak against it? It would be nice to hear some feedback on this idea. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
