nhibernate doesn't support multiples databases in a session factory.
You can do some tricks inheriting DriverConnectionProvider and override the
connection string property, but this will breack other things like a 2nd
level cache :)

2011/3/3 erion.alite <[email protected]>

> Hi Everyone,
>
> Does Hibernate 3.0 support multiple databases ?
>
> I am familiar with Castle NHibernate Integration assembly, though they
> don't seam to have a release ready.
>
> I also am aware that one can create  a map to hold the different
> hibernate factories, but am looking for an integrated solution within
> the Hibernate.
>
> Thanks
>
> - Erion
>
> --
> 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.
>
>

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