【发布时间】:2012-01-24 19:34:18
【问题描述】:
我正在处理一个与 NHibernate 和 WCF 服务中的分布式事务相关的奇怪问题。详情请见Deadlocks causing 'Server failed to resume the transaction' with NHibernate and distributed transactions。
似乎可以解决我的问题的一件事是使用 NHibernate 的 AdoNetTransactionFactory,而不是 AdoNetWithDistributedTransactionsFactory。
我相信 AdoNetWithDistributedTransactionsFactory 与使 NHibernate 的二级缓存机制正常工作有关,但我们没有使用它。将 AdoNetTransactionFactory 与分布式事务一起使用还存在哪些(如果有)其他问题?
感谢您的宝贵时间!
【问题讨论】:
标签: nhibernate distributed-transactions