同志们,关于一个PreparedStatement()的参数问题
//PreparedStatement(sqlURL,);PreparedStatement ps = db.getConnection().prepareStatement("select * from student where class_id='?'");
ps.setInt(1,c.getId());//这是什么意思 数字参数是做什么的?
2008-04-29 01:04
2008-04-29 09:08
2008-04-30 15:33
2008-04-30 16:24