随笔 - 54  文章 - 0  评论 - 2  阅读 - 65713
06 2019 档案
事务管理_xml配置aop事务
摘要:举例a向b转账,通过money总量来查看在转账出现异常时数据能否保持一致性。 db.properties: applicationContext.xml: AccountDaoImpl.java: AccountServiceImpl.java: Mytest.java: 原表数据: 若未配置织入( 阅读全文
posted @ 2019-06-25 14:11 kongieg 阅读(583) 评论(0) 推荐(0) 编辑
Eclipse
摘要:查找方法或类:ctrl+shift+H surround with:alt+shift+S 阅读全文
posted @ 2019-06-24 17:04 kongieg 阅读(148) 评论(0) 推荐(0) 编辑
Spring 使用数据库
摘要:配置方式: BasicDataSource的池配置属性 阅读全文
posted @ 2019-06-22 14:58 kongieg 阅读(171) 评论(0) 推荐(0) 编辑
Spring aop练手
摘要:applicationContext.xml: 切点类:MyPerform.java 切面: 测试: 结果是对滴 .^_^. 阅读全文
posted @ 2019-06-19 14:41 kongieg 阅读(250) 评论(0) 推荐(0) 编辑
Spring AOP
摘要:术语: 对象和代理对象的创建时间: 摘自:SPRING 实战(第三版) 阅读全文
posted @ 2019-06-19 09:37 kongieg 阅读(128) 评论(0) 推荐(0) 编辑
Bean注入
摘要:装配List、Set、Array: tips: 阅读全文
posted @ 2019-06-18 15:22 kongieg 阅读(165) 评论(0) 推荐(0) 编辑
JUnit
摘要:Exception:no test found matching 原因:仅仅导入了junit包,未导入hamcrest-core-1.3.jar包。 使用JUnit需注意: @Test不可以测试Static修饰的方法,不可测试private修饰的方法 阅读全文
posted @ 2019-06-17 09:08 kongieg 阅读(143) 评论(0) 推荐(0) 编辑
IntelliJ IDEA快捷键
摘要:查看接口实现类:ctrl+alt+B getter、setter、constructor:alt+insert surround with:选中代码,ctrl+alt+T 阅读全文
posted @ 2019-06-03 14:08 kongieg 阅读(123) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 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 29
30 31 1 2 3 4 5

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