java中的sql语句带参数

String sql="select * from Student where id='"+id+"'";

list.add("delete from dp_dto_persistence where tnt_inst_id = "+tntInstId+" and stmt_nbr = "+stmtNbr+"");

posted @ 2015-07-08 11:27  sky123123  阅读(1242)  评论(0编辑  收藏  举报