spring
cnds_li
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
侵入式重试机制:GuavaRetryer.retry(
使用GuavaRetryer.retry( 实现侵入式重试机制 执行顺序: 1、主线程 2、执行GuavaRetryer.retry 中方法体 3、主线程阻塞到2执行完成 4、主线程继续执行原创 2021-05-08 15:46:07 · 279 阅读 · 0 评论 -
Mybatis Available parameters are [0, 1, param1, param2]
接口 int getUser(String userName, String pwd); mapper.xml <select id="getUserEntity"> select * from rbac_user where user_name= #{userName} and pwd= #{pwd} &l...转载 2020-04-27 14:42:52 · 288 阅读 · 0 评论 -
Springboot service层事务管理、若catch异常并抛出非运行时异常,手动回滚事务案例
- 首先添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> ...原创 2020-04-27 14:33:18 · 2101 阅读 · 0 评论
分享