What you are talking about ?Each Configuration allow only one session-factory.
There are a lot of example about how configure and use NH in multiple RDBMS environment. one is available here http://code.google.com/p/unhaddins/source/browse/trunk/uNhAddIns/uNhAddIns/SessionEasier/MultiSessionFactoryProvider.cs using this "configurator" http://code.google.com/p/unhaddins/source/browse/trunk/uNhAddIns/uNhAddIns/SessionEasier/DefaultMultiFactoryConfigurator.cs Another is available in Burrow. Another in S#arpArchitecture Another in http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx 2008/11/13 Nate <[EMAIL PROTECTED]> > > I have seen several examples showing multiple session factories in the > hibernate.cfg.xml file. What I would like to be able to do is pass the > session factory name that I want to the BuildSessionFactory() method > on the configuration object and be returned the appropriate named > session factory from the config file. Is there some other easy way to > do this that I am missing? > > Thanks, > Nathan King > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
