文章列表
源代码:
public class Test4 { static Connection con; static PreparedStatement sql; //声明预处理语句 static ResultSet res; public Connection getConnection(){ try { con = DBLink.connection(); //获取与数据库的连接 sql = con.prepareStatement("select * from EduData..student where SID = ?"); //预处理语句 sql ...