Linked Servers?
Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Mar 19, 2009 at 2:42 PM, David Perfors <[email protected]> wrote: > > Hi, > > In our project we have a situation where we can use a new database > (tables generated by NHibernate), but we also need data from existing > databases (a compete different kind of database engine...). > In our domain there is a relation between objects that are stored in > the new database and objects that are stored in the second database. > > Since I am quite new to NHibernate I was wondering what possibilities > there are to accomplish this. I know that I need two separate > SessionFactories, (for each database/dialect one) but how can I tell > NHibernate that it should use a different session for specific > classes? > > I am currently looking into the IInterceptor interface to find out > whether that is suitable for this, but I am not convinced it is. Any > suggestions, clarification, etc? > > David > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
