2014年1月27日
摘要: SqlHelper.javapackage com.mqs.process;import java.io.FileInputStream;import java.sql.*;import java.util.Properties;public class SqlHelper { //定义需要的变量 private static Connection ct=null; //在大多数情况下,使用PreparedStatement来替代Statement //这样可以防止sql注入 private static PreparedStatement ps=null; ... 阅读全文
posted @ 2014-01-27 15:32 jingyunyb 阅读(3220) 评论(0) 推荐(0)