摘要: 转:java.sql.PreparedStatement超级接口:Statement,Wrapper子接口:CallableStatement1、addBatch():将一组参数添加到此 PreparedStatement 对象的批处理命令中。2、clearParameters():立即清除当前参数值。 clearBatch():清除PS中已经打好的sql参数的包3、execute():执行 SQL 语句,该语句可以是任何种类的 SQL 语句。4、executeQuery(): 执行 SQL 查询,并返回该查询生成的 ResultSet 对象。5、executeUpdate():在此 Prep 阅读全文
posted @ 2012-12-24 16:45 hwj2wj 阅读(263) 评论(0) 推荐(0) 编辑