============问题描述============
// 创建数据库的链接,查询该用户 JDBConnection sqlConn = new JDBConnection(); sqlConn.executeQuery("select name,password from user_test where name = ‘" + username + "‘," + "password = ‘" + password + "‘");
============解决方案1============
============解决方案2============
原文:http://www.cnblogs.com/lmyangbk/p/4041863.html