If the schema is the same, you can pass IDbConnection to the OpenSession.However, creating multiple session factories isn't expensive, you only need to create them once.
On Thu, Mar 12, 2009 at 11:20 PM, tmsmith <[email protected]> wrote: > > Is it possible to use one SessionFactory for multiple databases (on > different servers)? Everything I read including NHibernate In Action > says to use one SessionFactory per database. This seems expensive. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
