摘要: 轉載 - spring 動態數據源切換 閱讀全文
posted @ 2011-03-30 21:30 landor 閱讀(350) | 評論 (0) 編輯 |
posts - 61, comments - 50, trackbacks - 0, articles - 1 |
||
spring 摘要: 轉載 - spring 動態數據源切換 閱讀全文
posted @ 2011-03-30 21:30 landor 閱讀(350) | 評論 (0) 編輯 | 摘要: 關于用spring的JtaTransactionManager,配置分布式事務 閱讀全文
posted @ 2010-01-09 13:22 landor 閱讀(17353) | 評論 (1) 編輯 | 摘要: spring中各種切入點指示符
轉:http://www.busfly.cn/csdn/post/700.html 閱讀全文 posted @ 2009-12-04 10:57 landor 閱讀(274) | 評論 (0) 編輯 | 摘要: org.springframework.web.util.IntrospectorCleanupListener 閱讀全文
posted @ 2009-11-26 16:29 landor 閱讀(3183) | 評論 (0) 編輯 | 摘要: spring默認的是出現運行時異常(RuntimeException)及其子類的時候回滾,其他類不回滾 閱讀全文
posted @ 2009-04-08 08:34 landor 閱讀(653) | 評論 (0) 編輯 | 摘要: spring的jdbc支持中,2.0中RowMapperResultSetExtractor 替換1.0中 RowMapperResultReader
但是用法基本一樣 閱讀全文 posted @ 2009-04-08 08:32 landor 閱讀(2244) | 評論 (0) 編輯 | 摘要: 關于spring2.5出現doesn't recognize same beans when included multiple times on classpath的問題 閱讀全文
posted @ 2009-04-07 21:30 landor 閱讀(239) | 評論 (0) 編輯 | 摘要: getHibernateTemplate().getSessionFactory().getCurrentSession()的意思是得到當前線程綁定的session,而當前線程綁定的session是通過當前的事務產生的,如果你沒有配置事務的話,當前線程threadlocal中就不存在 session,這樣就出現no session錯誤 閱讀全文
posted @ 2009-04-07 21:19 landor 閱讀(7439) | 評論 (2) 編輯 |
|
||