I think, you should use multiples sessionfactories and multiples
configurations,
please read this:
http://fabiomaulo.blogspot.com/2009/09/configure-sessionfactory-providers.html

<http://fabiomaulo.blogspot.com/2009/09/configure-sessionfactory-providers.html>I
think you will need to do some work to put configurations into the
configurationprovider at runtime.

2010/9/8 Eric <[email protected]>

> Thanks!
>
> One last question...
> What must be done, in regards to "Configure()" when switching the
> "dialect" at run-time? The actual mappings are the same.. only the
> properties specific to database connection are changed at runtime.
>
> I have a custom IConfigurationProvider, but it does not seem like
> "Configure()" gets called more than once...
> 1. Do I need to explicitly call something to re-configure?
> 2. Does BuildSessionFactory() need to be called after making changes
> to the dialect?
>
> Thanks Again,
> Eric
>
> --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

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