会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
道哥走天下
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2024年7月22日
JdbcTemplate
摘要: https://zhuanlan.zhihu.com/p/569597103 引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId>
阅读全文
posted @ 2024-07-22 16:10 A-P-I
阅读(9)
评论(0)
推荐(0)
2024年7月19日
Jackson
摘要: Convert Java Bean to Json Object import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import
阅读全文
posted @ 2024-07-19 17:17 A-P-I
阅读(12)
评论(0)
推荐(0)
org.slf4j.Logger
摘要: 日志级别 ERROR > WARN > INFO > DEBUG, 定义了INFO级别,DEBUG不被打印出来。 打印方法 https://mp.weixin.qq.com/s?__biz=MzAxMjY5NDU2Ng==&mid=2651867278&idx=1&sn=5f7bf3aa687752
阅读全文
posted @ 2024-07-19 16:43 A-P-I
阅读(48)
评论(0)
推荐(0)
Dependencies
摘要: <!-- JdbcTemplate --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId></dependency> <!-- http
阅读全文
posted @ 2024-07-19 10:42 A-P-I
阅读(13)
评论(0)
推荐(0)
2024年7月18日
How to find dependency
摘要: https://mvnrepository.com/
阅读全文
posted @ 2024-07-18 17:26 A-P-I
阅读(7)
评论(0)
推荐(0)
2024年7月17日
Java - 多线程
摘要: ThreadLocal https://www.cnblogs.com/fsmly/p/11020641.html 为了线程安全,每个线程改的都是自己本地的副本,从而不会影响其它线程。 多线程访问同一个共享变量的时候容易出现并发问题,特别是多个线程对一个变量进行写入的时候,为了保证线程安全,一般使用
阅读全文
posted @ 2024-07-17 16:07 A-P-I
阅读(12)
评论(0)
推荐(0)
2024年7月5日
Annotation
摘要: @NonNull https://www.cnblogs.com/aaacarrot/p/17025725.html import org.springframework.lang.NonNull; 编译时不检查,在程序运行时被赋值null,提前报错,而不是执行无用代码,到用到的时候再报错。 @Sn
阅读全文
posted @ 2024-07-05 10:44 A-P-I
阅读(30)
评论(0)
推荐(0)
2024年7月4日
JABX(Java Architecture for XML Binding)
摘要: https://www.vogella.com/tutorials/JAXB/article.html JABX(Java Architecture for XML Binding) JAXB (with Java 11) - Tutorial Lars Vogel (c) 2008 - 2024
阅读全文
posted @ 2024-07-04 10:33 A-P-I
阅读(83)
评论(0)
推荐(0)
2024年6月28日
org.mapstruct
摘要: 性能高功能齐全的java bean映射工具mapstruct, 字段名相同的对象映射到另一个对象,加了@Mapper注解后,框架编译时自动生成转换类,字段一个一个的从A set 到B上去。 https://www.jianshu.com/p/913e791ecbcc 示例代码 <dependency
阅读全文
posted @ 2024-06-28 13:56 A-P-I
阅读(34)
评论(0)
推荐(0)
2024年6月7日
能人义士
摘要: https://github.com/zq2599/blog_demos https://www.cnblogs.com/bolingcavalry/p/14342897.html
阅读全文
posted @ 2024-06-07 15:04 A-P-I
阅读(12)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页