摘要: 默认情况下,使用#{}语法,MyBatis会产生PreparedStatement语句中,并且安全的设置PreparedStatement参数,这个过程中MyBatis会进行必要的安全检查和转义。例如:执行SQL:Select * from emp where name = #{employeeNa... 阅读全文
posted @ 2015-04-30 10:18 呱哇 阅读(158) 评论(0) 推荐(0) 编辑