摘要: 插入数据 public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException, NoSuchMethodE 阅读全文
posted @ 2021-10-25 23:52 白_沙 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 插入数据 public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException, NoSuchMethodE 阅读全文
posted @ 2021-10-25 22:56 白_沙 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一、导入数据库驱动到目录 二、添加驱动到库 三、连接数据库 方式一: public static void main(String[] args) throws SQLException { Driver driver = new com.mysql.jdbc.Driver(); String ur 阅读全文
posted @ 2021-10-25 21:05 白_沙 阅读(67) 评论(0) 推荐(0) 编辑