摘要: throw new RuntimeException("====");会回滚throw new Exception("====");不会回滚回滚@Transactional(rollbackFor=Exception.class) public void aa() { throw new Exception("==="); }不回滚@Transactional(noRollbackFor=Exception.class) public void bb() { throw new RuntimeException("====& 阅读全文
posted @ 2013-12-20 13:54 Mr_Clint 阅读(274) 评论(0) 推荐(0) 编辑