欢迎访问『www.cnblogs.com/blog-ice』
12 2020 档案
Mockito junit springboot
摘要:@RunWith(MockitoJUnitRunner.class) @TestPropertySource("classpath:application-test.properties") public class DemoTest{ @InjectMocks private Service se 阅读全文
posted @ 2020-12-31 17:22 仙路尽头谁为峰 阅读(187) 评论(0) 推荐(0)
Spring multi thread transaction tools
摘要:1.import MultiThreadTransactionManager.java2.DI PlatformTransactionManager3.new MultiThreadTransactionManager<>(transactionManager)4.addTask()5.execut 阅读全文
posted @ 2020-12-24 14:49 仙路尽头谁为峰 阅读(582) 评论(0) 推荐(0)
Mybatis boolean automatic convert
摘要:dbType=bit dbValue=null|0|1 javaType=boolean javaValue=false|false|true javaType=Boolean javaValue=null|false|true dbType=tinyint dbValue=null|0|not 0 阅读全文
posted @ 2020-12-08 13:39 仙路尽头谁为峰 阅读(180) 评论(0) 推荐(0)
Sqlserver 常用 SQL
摘要:1.Batch update top 10 2.Backup table 3.Add/Alter column and PK 4.Create/Replace Index 5.Dynamic Create/Replace sequence 6.Create/Replace Stored Proced 阅读全文
posted @ 2020-12-08 13:08 仙路尽头谁为峰 阅读(188) 评论(0) 推荐(0)
23 Design Pattern
摘要:5 7 11 1.Creativeness 1.1 Singleton private static class InnerClass{ new Singleton()} 1.2 Prototype 实现Cloneable 使用ObjectxxxputStream ByteArrayxxxputSt 阅读全文
posted @ 2020-12-03 12:02 仙路尽头谁为峰 阅读(163) 评论(0) 推荐(0)

这里是自由发挥的天堂