Spring+jdbc ````````` public void setDataSource(DataSource dataSource) { this.dataSource = dataSource; }//这句有什么作用呢???????? public void save(int i) { JdbcTemplate jt = new JdbcTemplate(dataSource); jt.update("delete from person where id=?", new Object[] { i}, new int[]{ java.sql.Types.INTEGER}); }