04 2019 档案

摘要:1、SpringBoot中加载bean,可以使用注解@compenent直接加载到applicationContext容器中 2、在直接类@Configuration中,手动注册bean,如: 阅读全文
posted @ 2019-04-14 12:02 关键步就几步 阅读(3619) 评论(0) 推荐(0) 编辑
摘要:springboot属性类自动加载配置文件中的值,如Person类加载在yml中配置的name,age等属性值,可以通过如下步骤获取: 类上添加@ConfigurationProperties注解,prefix为yml中配置的属性名称,要想属性类生效得加上@Component注解 如果想要在yml中 阅读全文
posted @ 2019-04-14 10:56 关键步就几步 阅读(3528) 评论(0) 推荐(0) 编辑
摘要:1、在Navicat界面进入,右键点击 命令列界面 2、依次输入: use mysql; 3、如果是5.7以下版本用 update user set password=password('xxxxxxxx') where user='root'; 如果是5.7以上版本则用 update user s 阅读全文
posted @ 2019-04-08 16:48 关键步就几步 阅读(1916) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/hu_belif/article/details/82688884 阅读全文
posted @ 2019-04-04 15:20 关键步就几步 阅读(420) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示