原始JDBC操做(查询数据)

//注册驱动 Class.forName("com.mysql.jdbc.Driver"); //得到链接 Connection connection = DriverManager.getConnection("jdbc:mysql:///test","root","root"); //得到statement PrepareStatement statement = connection.pre
相关文章
相关标签/搜索