首页 新闻 会员 周边

NHibernate 中分布式事务中的处理

0
[已关闭问题]

项目中实际中用到WF ,但是数据库是采用的ORACLE,所以必须重写IPendingWork接口

代码如下

 

代码
1 public void Complete(bool succeeded, System.Collections.ICollection items)
2 {
3
4 }
5
6 public bool MustCommit(System.Collections.ICollection items)
7 {
8 return true;
9 }
10 public void Commit(Transaction transaction, System.Collections.ICollection items)
11 {
12 }

 

 

 

但是当Commit 的时候,我这里需要用一个NH的事务来处理,怎么搞啊 
啤酒花的主页 啤酒花 | 初学一级 | 园豆:2
提问于:2010-06-30 10:39
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册