resources下新建File文件 bean.xml
配置jdbcTemplate
注入DataSource
新建测试方法
复制demo1改个名字叫做demo2
编写Insert的方法
阶段3 2.Spring_09.JdbcTemplate的基本使用_5 JdbcTemplate在spring的ioc中使用
猜你喜欢
转载自www.cnblogs.com/wangjunwei/p/11361925.html
今日推荐
周排行