修复所有数据库性能问题

This commit is contained in:
FJY
2017-11-01 23:02:30 +08:00
parent b4da65a6e3
commit bca76d88a6
31 changed files with 288 additions and 171 deletions

View File

@@ -37,6 +37,7 @@
String use = "root";
String password = "";
Class.forName(driver);
try{
Connection conn = DriverManager.getConnection(url, use, password);
PreparedStatement sql = conn
.prepareStatement("delete from user where userName=?");
@@ -47,6 +48,9 @@
}
sql.close();
conn.close();
} catch (Exception ex) {
ex.printStackTrace();
}
%>
<!-- 判断是否是插入成功 -->
<%