摘要:
package com.tool; public class MyException extends Exception{ public String Msg; public String ErrCode; public MyException(String msg,String code) { s 阅读全文
摘要:
@Transactional spring 事务注解 默认遇到throw new RuntimeException("...");会回滚需要捕获的throw new Exception("...");不会回滚// 指定回滚@Transactional(rollbackFor=Exception.cl 阅读全文