![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web里的错误
程序界的梅西
这个作者很懒,什么都没留下…
展开
-
Exception in thread "main" com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect。。。
源代码 notice.setLeaveDate(new Date()); 出现错误com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect 猜测是jar包更新了,所以出错 把代码改换以下 Date date=new Date(); SimpleDateFormat temp=new SimpleDateFormat("yy...原创 2019-05-10 12:08:50 · 169 阅读 · 0 评论 -
有关No row with the given identifier exists: [com.ORM.Member#11]错误
No row with the given identifier exists: [com.ORM.Member#11] 这是一个与数据库有关的错误,table1与table2有关联,table1的主键是table2的外键, 当删除table1的记录时,table2中并没有删除外键的记录,当调用table2时,就会出现 table2中的外键数据在table1中没有了,所以出现上述错误 ...原创 2019-06-03 17:51:17 · 167 阅读 · 0 评论