DomSqlMapBuilder builderProduct = new DomSqlMapBuilder();
sqlMapProduct = builderProduct.Configure("sqlmapProduct.config");
异步调用的时候,没有ibastis上下文信息。
后来添加了 SessionStore
sqlMapProduct.SessionStore = new HybridWebThreadSessionStore(sqlMapProduct.Id);
代码后,就正常了