jdbcTemplate如何返回List

jdbcTemplate如何返回List<String>

解决方法:

List<String> data = jdbcTemplate.query("select name from tb_user", new RowMapper<String>(){

   详情:http://www.yayihouse.com/yayishuwu/chapter/1970

      },null);

猜你喜欢

转载自blog.csdn.net/qq_30908729/article/details/91946145