SessionFactory is readonly

On Mon, Apr 6, 2009 at 7:28 AM, dagda1 <dag...@scotalt.net> 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
> >
>
>


-- 
Dario Quintana
http://darioquintana.com.ar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to