03 2022 档案

Ehcache 3.x 笔记
摘要:现在Ehcache版本已经到3.10了, 网上查到的大部分还是2.x版本的使用说明, 把基础用法记了一下, 以后有时间再翻译. 基础使用, 创建 CacheManager CacheManager cacheManager = CacheManagerBuilder.newCacheManagerB 阅读全文

posted @ 2022-03-19 22:21 Milton 阅读(402) 评论(0) 推荐(0) 编辑

SpringBoot 2.6 和 JUnit 5 的测试用例注解和排序方式
摘要:JUnit5 的测试注解 在JUnit5中, 不再使用 @RunWith 注解, 改为使用 @ExtendWith(SpringExtension.class) @ExtendWith(SpringExtension.class) @SpringBootTest public class Accou 阅读全文

posted @ 2022-03-08 23:36 Milton 阅读(341) 评论(0) 推荐(0) 编辑

Spring的接口集合注入功能
摘要:Spring的接口集合注入功能 对于Spring中已经注入的bean, 可以使用Autowired, 通过Map<String, BeanInterface>或List<BeanInterface>的方式直接注入 实现步骤 定义一个接口 实现这个接口的一系列类, 都加上 @Component 或者 阅读全文

posted @ 2022-03-08 23:30 Milton 阅读(1122) 评论(0) 推荐(0) 编辑

PostgreSQL 的字段类型和表操作笔记
摘要:PostgreSQL 的 Table 相关笔记 字段类型 数值类型 Name Storage Size Description Range smallint 2 bytes small-range integer -32768 to +32767 integer 4 bytes typical ch 阅读全文

posted @ 2022-03-05 23:28 Milton 阅读(1454) 评论(0) 推荐(0) 编辑

Mac Mini 安装Ubuntu20.04 KVM
摘要:在一台 Mac Mini mid 2011上安装Ubuntu20.04并配置KVM环境, 过程也适用于其他版本的Mac主机. 硬件配置 I5 2415, 内存8G*2, 硬盘 SSD 500G + HDD 500G. 1Gbps网口. USB比较寒碜只有2.0, 不过只用于跑服务也不需要挂载移动硬盘 阅读全文

posted @ 2022-03-05 16:05 Milton 阅读(3987) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示