ibatis 防止SQL注入与占位符的注入 SQL注入: 如果用户执行 select*fromproductwhereid=5 这条语句。deletefromorders 那么原来的SQL语句将会变为, select*fromproductwhereid=5;从而有效防止SQL注入。 gwn00 2013-08-26 10:57:15