随笔 - 54  文章 - 0  评论 - 2  阅读 - 65713

随笔分类 -  Spring

springboot初始化运行时dataSource报错
摘要:Failed to configure a DataSource: 'url' attribute is not specified and no embedd: 在本项目中完全没有涉及到任何有关数据库的内容,报错原因是为can not find suitable driver: 后在@Spring 阅读全文
posted @ 2020-03-21 23:26 kongieg 阅读(782) 评论(0) 推荐(0) 编辑
事务管理_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) 编辑
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) 编辑

< 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

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