Nhibernate session for different database servers with same entity?

You can try NShards. It is still under development but probably working for you nhcontrib.svn.sourceforge.net/svnroot/nh....

You can try NShards. It is still under development but probably working for you. nhcontrib.svn.sourceforge.net/svnroot/nh....

Thanks Paco. But is my approach a good way? – vikasde Nov 10 '09 at 20:13.

Provide it a connection string. I know that sounds stupid, but it appears to be missing.

Its already there. I think its a misleading exception. – vikasde Nov 10 '09 at 20:15 Please provide a stack trace in full – Woot4Moo Nov 10 '09 at 20:36.

Using one session to query two desperate data sources doesn't sound like the correct approach...even if it is physically possible. Separation of concerns should apply here I would think. Presentation -> service layer |-> projectName.dataAccess.usa.

EntityRepository |-> projectName.dataAccess.can. EntityRepository.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions