随笔分类 -  Spring

1.依赖注入DI和控制反正IOC 2.面向切面AOP
该文被密码保护。
posted @ 2020-07-14 15:37 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-07-10 10:43 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-05 20:38 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-04 21:33 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-04 20:03 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-05-04 18:18 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:原因: 1.加事务注解 @Transactional import org.springframework.transaction.annotation.Transactional; 2.方法必须是public修饰 阅读全文
posted @ 2020-03-26 10:57 Peter.Jones 阅读(375) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-03-24 12:51 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:java.io.FileNotFoundException:class path resource [kwhRules.json] cannot be resolved to absolute file path because it does not reside in the file syst 阅读全文
posted @ 2020-02-25 11:04 Peter.Jones 阅读(3571) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/AlexQY/p/10373820.html 阅读全文
posted @ 2020-01-19 10:22 Peter.Jones 阅读(255) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2020-01-13 11:25 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/chengqiuming/article/details/102331033 阅读全文
posted @ 2020-01-12 22:35 Peter.Jones 阅读(4067) 评论(0) 推荐(1) 编辑
该文被密码保护。
posted @ 2019-12-31 17:13 Peter.Jones 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-12-11 11:49 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-12-09 16:21 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-10-30 16:45 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-10-30 16:42 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:测试时使用save()方法向数据库插入一条记录,结果发现通过单元测试了,但是并没有向数据库插入一条记录,一看日志,发现Spring-test对事务进行了回滚。为了使测试数据不对数据库造成污染,在使用Spring-test进行的单元测试的时候,默认会对事务进行回滚,即@Rollback 默认是true 阅读全文
posted @ 2019-10-15 15:27 Peter.Jones 阅读(784) 评论(0) 推荐(0) 编辑
摘要:单生产者 单消费者 执行 阅读全文
posted @ 2019-10-15 11:16 Peter.Jones 阅读(299) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示