【发布时间】:2012-03-24 08:21:03
【问题描述】:
我会先说我正在使用NHibernate v3.2。
假设我有一个如下的连接字符串(这里的关键是Failover Partner):
Data Source=Server1\Instance;Failover Partner=Server2\Instance;Initial Catalog=MyDb;Integrated Security=True;
我在hibernate论坛中发现了以下与该主题相关的文章:
https://forum.hibernate.org/viewtopic.php?f=25&t=979764
一位用户提到以下内容:We had a slight hiccup with the way we were caching our NHibernate session and had to add a method that verifies the session's connection is still open when we pull it out of the call context.
NHibernate 是否支持开箱即用的数据库镜像选项,因为它使用 ADO.net?
在使用连接时我需要注意什么特殊情况像这样的字符串?
【问题讨论】:
标签: hibernate nhibernate