标签:
JdbcTemplate.update(sql, ArrayList.toArray())
Connection conn = null;
PreparedStatement ps = null;
conn = JdbcUtils.getConnection();
String sql = "select id,name,birthday,money from user where name=?";
ps = conn.prepareStatement(sql);
ps.setString(1, name);
rs = ps.executeQuery();
标签:
原文地址:http://www.cnblogs.com/silentmuh/p/5315841.html