摘要:
有时因为安全问题,在配置文件中配置的数据库用户名和密码需要进行加密处理,Spring Boot下可以使用jasypt进行加密处理 Maven导入: <dependency> <groupId>com.github.ulisesbocchio</groupId> <artifactId>jasypt- 阅读全文
posted @ 2022-08-19 15:38
独孤无绝
阅读(165)
评论(0)
推荐(0)
摘要:
使用NamedParameterJdbcTemplate进行数据库操作时,常用query、queryForObject、queryForList、queryForMap方法说明记录 【query方法】返回结果是list,且list中元素必须是自定义bean;不能是list<String>。 【que 阅读全文
posted @ 2022-08-19 15:04
独孤无绝
阅读(2381)
评论(0)
推荐(0)

浙公网安备 33010602011771号