mysqldump备份视图报错
遇到两个错误,在这里记一下。一个是:mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tables
我并不是什么都知道,我只是知道我所知道的。
遇到两个错误,在这里记一下。一个是:mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tables
记录一下遇到detached entity passed to persist错误的情况,以及发生原因原因:通过@GeneratedValue注解设置了自定义id生成策略,然后要保存的实体id值不为null,通过entityManager.persist(entity)去保存实体解决方法:entit
前言:项目之前一直用的springboot默认的异常处理BasicErrorController,因业务需要还是需要自定义一个异常处理类,springboot 下有两种方式:继承ErrorController 或 @ControllerAdvice/@RestControllerAdvice, 我自