摘要:
解决 SpringBoot配置全局的fastxml转换器——引发 Hibernate事务同步错误: Cloud not obtain synchronized-ransaction Session for current thread 参考https://www.cnblogs.com/zolmk/ 阅读全文
摘要:
MYSQL 不常见用法归纳 拼接列值 concat(arg1,arg2,...) select 中使用条件语句 select *, case when sal>1000 then 'HIGH' when sal>500 then 'MIDDLE' else 'LOW' end as status f 阅读全文
摘要:
Spring Boot项目添加全局异常捕获器 示例代码如下: @RestControllerAdvice public class GlobalExceptionHandler{ @ExceptionHandler(value = Exception.class) public Result<?> 阅读全文