摘要:
@ConfigurationProperties标识的类支持JSR-303校验 JSR 303 - Bean Validation 介绍及最佳实践 一、JSR-303简介JSR-303 是 JAVA EE 6 中的一项子规范,叫做 Bean Validation,官方参考实现是Hibernate V 阅读全文
posted @ 2018-10-25 22:15
超轶绝尘
阅读(275)
评论(0)
推荐(0)
摘要:
1. application.yml 2. application.properties 阅读全文
posted @ 2018-10-25 21:56
超轶绝尘
阅读(1086)
评论(0)
推荐(0)
摘要:
零、@PropertySource 功能类似于 一、引入配置文件注解PropertySource源码 三、引入配置文件后配置项被@Value注解使用 四、引入配置文件后配置项被Spring Boot 的@ConfigurationProperties使用,一站式注入到相应的JavaBean的所有属性 阅读全文
posted @ 2018-10-25 21:43
超轶绝尘
阅读(1134)
评论(0)
推荐(0)
摘要:
尚硅谷spring_boot课堂笔记 阅读全文
posted @ 2018-10-25 20:40
超轶绝尘
阅读(850)
评论(0)
推荐(0)

浙公网安备 33010602011771号