Hmm Shards wasn't the thing I had in mind. Anybody knows if it is possible
in NH, so that tI can work on it?


Tuna Toksöz
http://tunatoksoz.com
http://turkiyealt.net
http://twitter.com/tehlike

Typos included to enhance the readers attention!



On Mon, Mar 9, 2009 at 4:13 PM, Tuna Toksoz <[email protected]> wrote:

> IS NHibernate Shards what you are looking for?
> Tuna Toksöz
> http://tunatoksoz.com
> http://turkiyealt.net
> http://twitter.com/tehlike
>
> Typos included to enhance the readers attention!
>
>
>
> On Mon, Mar 9, 2009 at 2:46 PM, dagda1 <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I have a multi-tenant application that has a seperate website instance
>> and a seperate DataBase for each client instance.
>>
>> I am trying to move as much functionality into central services that
>> are reachable by MSMQ.
>>
>> I use Nhibernate and I use Castle's NhibernateIntegration.
>>
>> With the NhibernateIntegration you can have a number of session
>> factories defined in the Configuration etc.
>>
>> I really do not want to have to create a different sessionfactory for
>> each client.
>>
>> Is there anyway I can change the connection string at runtime or is
>> there an approach that will avoid me having to create a seperate
>> sessionfactory for each client?
>>
>> Cheers
>>
>> Paul
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to