摘要: @Transactional(rollbackFor = { Exception.class }) 需要把异常抛出到带有@Transactional(rollbackFor = { Exception.class }) 这个注释的函数外面,回滚才能生效。出现错误:org.springframewor... 阅读全文
posted @ 2014-10-17 22:23 Silababy 阅读(338) 评论(0) 推荐(0) 编辑