![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
继承接口
这个作者很懒,什么都没留下…
展开
-
SQLException----异常一只
java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate(), Statement.executeLargeUpdate() or Connection.prepareStatement().原创 2017-10-18 16:12:51 · 536 阅读 · 0 评论 -
Mysql使用while循环插入数据
Mysql使用while循环插入数据 数据初始化 // 删除已有的user表 DROP TABLE IF EXISTS `user`; // 创建新的user表 CREATE TABLE `user` ( `userId` INT (11) NOT NULL AUTO_INCREMENT, `userLoginAccount` INT (255) NOT NULL, `us原创 2017-11-24 15:20:03 · 5464 阅读 · 0 评论