会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
x77
博客园
首页
新随笔
联系
订阅
管理
10 2021 档案
mybatis占位符#和$区别
摘要:
阅读全文
posted @
2021-10-06 16:13
x77
PreparedStatemen防止SQL注入
摘要:不使用PreparedStatement的set方法设置参数(效果跟Statement相似,相当于执行静态SQL) String param = "'test' or 1=1"; String sql = "select file from file where name = " + param;
阅读全文
posted @
2021-10-06 15:45
x77
阅读(75)
评论(0)
推荐(0)
公告