摘要:        
目标地址:http://blog.csdn.net/andydreaming/article/details/7315775其他使用场景,用spring JdbcDaoSupport进行数据库操作时: 直接将配置的Spring DataSource bean id 放置在 LocalThread 变量里,通过getJdbcTemplate().getDataSource().getConnection() 或 直接getConnection() 时,即从LocalThread变量中DataSource获取的Connection。[当有多个数据库操作时,可动态设置LocalThread 变量里.    阅读全文
    
posted @ 2014-02-27 11:48
Mr_骆同学
阅读(281)
评论(0)
推荐(0)
        
 
                    
                
 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号