摘要: //1.查询一行数据并返回int型结果 jdbcTemplate.queryForInt("select count(*) from test"); //2. 查询一行数据并将该行数据转换为Map返回 jdbcTemplate.queryForMap("select * from test where name='name5'"); //3.查询一行任何类型的数据,最后一个参数指... 阅读全文
posted @ 2018-05-22 15:41 New_Crazy 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-22 11:42 New_Crazy 阅读(2543) 评论(1) 推荐(0) 编辑