随笔分类 -  SpringBoot

摘要:https://mp.weixin.qq.com/s/pyI5HC4T_IwFqxGca55cyg 来源:cnblogs.com/tanwei81/p/6814022.html 一、注解(annotations)列表 二、注解(annotations)详解 三、JPA注解 四、springMVC相关 阅读全文
posted @ 2020-12-16 11:09 弓呆的胖次 阅读(120) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zhuhui-site/p/10092322.html 版权声明:本文供交流学习,能够帮助到你是我最大的荣幸! https://blog.csdn.net/u014231523/article/details/76522486 说明:1.这里使用的版本 阅读全文
posted @ 2020-12-11 16:54 弓呆的胖次 阅读(172) 评论(0) 推荐(0)
摘要:这个比较全 https://blog.csdn.net/thinkingcao/article/details/71171222 遇到的问题 踩到一个坑,有一个接口,在这个接口的实现类里,需要用到@Autowired注解,一时大意,没有在实现类上加上@Component注解,导致了Spring报错, 阅读全文
posted @ 2020-12-11 14:38 弓呆的胖次 阅读(1490) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/liaojie970/tag/Spring/ 阅读全文
posted @ 2020-12-10 16:04 弓呆的胖次 阅读(37) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/liaojie970/p/9036349.html spring-boot中可以用@validated来校验数据,如果数据异常则会统一抛出异常,方便异常中心统一处理。比如,我们判断一个输入参数是否合法,可以用如下方式 一 基础使用 因为spring-b 阅读全文
posted @ 2020-12-10 16:03 弓呆的胖次 阅读(615) 评论(0) 推荐(0)
摘要:原地址:https://www.jianshu.com/p/8033ef83a8ed 一 简介 首先@ApiOperation注解不是Spring自带的,它是是swagger里的 注解@ApiOperation是用来构建Api文档的 @ApiOperation(value = “接口说明”, htt 阅读全文
posted @ 2020-12-10 15:53 弓呆的胖次 阅读(2272) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/foreverling/article/details/51385128 阅读全文
posted @ 2020-12-07 18:01 弓呆的胖次 阅读(2209) 评论(0) 推荐(0)
摘要:https://www.liaoxuefeng.com/wiki/1252599548343744/1347180610715681 阅读全文
posted @ 2020-11-25 10:32 弓呆的胖次 阅读(64) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_41888813/article/details/102947633 Spring IoC (ApplicationContext) 容器一般都会在启动的时候实例化所有单实例 bean 。如果我们想要 Spring 在启动的时候延迟加载 be 阅读全文
posted @ 2020-11-23 20:56 弓呆的胖次 阅读(2126) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq360694660/article/details/82877222 @PostConstruct基本: @PostConstruct注解好多人以为是Spring提供的。其实是Java自己的注解。 Java中该注解的说明:@PostConstruct该 阅读全文
posted @ 2020-11-06 21:21 弓呆的胖次 阅读(140) 评论(0) 推荐(0)
摘要:https://bbs.csdn.net/topics/390203153 阅读全文
posted @ 2020-11-06 21:14 弓呆的胖次 阅读(191) 评论(0) 推荐(0)
摘要:转载自:https://blog.csdn.net/yangshangwei/article/details/77619875 @annotation()概述 @annotation表示标注了某个注解的所有方法。 下面通过一个实例说明@annotation()的用法。 AnnotationTestA 阅读全文
posted @ 2020-10-14 16:40 弓呆的胖次 阅读(157) 评论(0) 推荐(0)
摘要:是: import com.fasterxml.jackson.annotation.JsonProperty; 容易搞错 阅读全文
posted @ 2020-10-14 11:48 弓呆的胖次 阅读(292) 评论(0) 推荐(0)
摘要:https://www.hangge.com/blog/cache/detail_2493.html 写一下基本介绍吧,不然都不知道是干嘛的 我们创建 POJO 类时,经常需要先写属性,然后手写或者自动生成 get 和 set 方法,然后还要重写 toString 方法....一系列操作下来,这个  阅读全文
posted @ 2020-10-13 14:44 弓呆的胖次 阅读(684) 评论(0) 推荐(0)