
spring boot
Leoooooooooooooooooo
Android开发、web开发,gogog
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot读取指定目录下的所有配置文件
直接上代码,获取 resource 目录下conf文件夹中的所有properties文件 try { ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(); Resource[] resources = resolver.getResources(...原创 2018-12-28 09:23:18 · 7650 阅读 · 0 评论 -
spring data jpa方法命名规则
关键字 方法命名 sql where字句 And findByNameAndPwd where name= ? and pwd =? Or findByNameOrSex where name= ? or sex=? Is,Equals findById,findByIdEquals where id= ? Between findById...转载 2019-02-01 19:39:15 · 496 阅读 · 0 评论