NutzCN Logo
问答 事务怎样回滚
发布于 3037天前 作者 CXW0504 1770 次浏览 复制 上一个帖子 下一个帖子
标签:

Trans.exec(new Molecule(){

       @Override
       public void run() {
         // TODO Auto-generated method stub
         dao.fetch(order.class,Cnd.where("account","=",account));
         try {
          throw new Exception();
         } catch (Exception e) {
          // TODO Auto-generated catch block
          throw new Exception();
         }
       }

    }
         );

    return null;
}
1 回复

一个fetch操作回滚个毛线?

添加回复
请先登陆
回到顶部