`
liyonghui160com
  • 浏览: 780524 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

iBatis.Net异步多线程 操作Ibatis报错

阅读更多

 

 

            DomSqlMapBuilder builderProduct = new DomSqlMapBuilder();
            sqlMapProduct = builderProduct.Configure("sqlmapProduct.config");

 

异步调用的时候,没有ibastis上下文信息。

 

后来添加了   SessionStore
            sqlMapProduct.SessionStore = new HybridWebThreadSessionStore(sqlMapProduct.Id);

代码后,就正常了

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics