>>I am trying to avoid having a seperate sessionfactory for each
client.

Why ?

On Mon, Apr 6, 2009 at 12:28 PM, dagda1 <[email protected]> wrote:

>
> Hi,
>
> I will be running in the context of a session factory.
>
> I have a number of clients connecting to the same windows service via
> MSMQ.
>
> The service will update a particular database.  Each client has its
> own specific database with exactly the same schema,
>
> I want to use the Nhibernate Castle.Facility.NhiberntateIntegration
> facility.
>
> I am trying to avoid having a seperate sessionfactory for each
> client.  We could have potentially 40 clients.
>
> I am wodering if there is a way to change the SessionFactory
> connection string at run time?
>
> I need to change the connection string after the session factory has
> been initialised or every time the windows service receives a request
> from MSMQ.
>
> Do you think this is possible? \
>
> if not, is there another approach I can take?
>
> Thanks
>
> Paul
> >
>


-- 
Sidar Ok

http://www.sidarok.com
http://www.twitter.com/sidarok

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to