随笔分类 -  Spring

摘要: 阅读全文
posted @ 2018-10-02 15:21 陈文龙 阅读(74) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-10-02 15:21 陈文龙 阅读(111) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-10-02 15:21 陈文龙 阅读(414) 评论(0) 推荐(0)
摘要:Spring、Hibernate 事务流程分析-Session生命周期TransactionInterceptor(Spring事务架构的具体使用场景) -> invoke方法:方法意图大致为获取当前方面的事务属性,然后调用父类TransactionAspectSupport的createTransactionIfNecessary()方法去获取事务(根据需要创建事务)。TransactionAspectSupport -> createTransactionIfNecessary方法:到PlatformTransactionManager中获取当前事务状态对象。而这里讲的是Hib 阅读全文
posted @ 2012-05-30 12:02 陈文龙 阅读(5947) 评论(0) 推荐(0)
摘要:在测试service类时报错.错误为 org/junit/Assume$AssumptionViolatedException; nested exception is java.lang.NoClassDefFoundError: org/junit/Assume$AssumptionViolatedException百思不得其解,然后就翻Google,后来Spring的jira中翻到,原来Spring 2.5 branch中是使用得junit 4.4.同时Spring 2.5 branch已经处于静止状态,不会在更新了.控制台会报这个错误,java.lang.NoClassDefFound 阅读全文
posted @ 2011-01-20 01:21 陈文龙 阅读(776) 评论(0) 推荐(0)