曾梦垚

导航

2016年12月13日

PreparedStatement和Statment

摘要: 使用Statment安全性差,存在SQL注入隐患 public static void main(String[] args) { Connection conn=null; Statement stmt=null; ResultSet rs=null; //根据控制台提示输入用户名和密码 Scan 阅读全文

posted @ 2016-12-13 20:53 曾梦垚 阅读(204) 评论(0) 推荐(0) 编辑