- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 spring-jdbc中的PropertyAccessorFactory用法
从外部设置对象中的值: 利用反射设置: 利用PropertyAccessorFactory设置
2022-03-24 19:13:07
490
原创 Spring4 jdbcTemplate 用法
spring4前的是有独立的spring-jdbc包的,spring5已经把spring-jdbc去掉了,现在用的springboot-starter-jdbc中的jdbcTemaplate就是对spring的封装。 spring4中的spring-jdbc经典用法: 项目结构 mxl配置 properties配置 代码呈现 备注:pom <dependencies> <dependency> <groupId>.
2022-03-23 18:32:59
1342
原创 spring 三种 资源定位 抽象的实践 UrlResource、ClassPathResource、FileSystemResource
UrlResource 的用法 2. classpath 3.FileSystemResource 项目目录
2022-03-09 18:21:45
661
原创 pom 中 scope的作用
1. scope 包括 compile、test、provider、runtime、system 2.默认compile,依赖参与项目的编译、运行、打包,都会参与; 3.test仅参与测试时候的编译、运行,不会打包进去项目中 例如:junit; 4.runtime参与项目的运行阶段,不会参与编译; 5.provider参与编译、运行、不会打包到项目中,其他设施会提供; ...
2021-07-27 17:22:14
1521
原创 2021-07-24
improperly specified vm option to fix the problem edit your jvmoptions 问题解决 1.查询到idea安装的目录,一般windows系统是在用户下的的目录中,C:\Users\123.IntelliJIdea2018.3\config, 删除这个目录下的vmoptions文件就可以啦! ...
2021-07-24 15:46:12
561
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人