利用MyBatis向MySQL數據庫中插入數據報錯Field 'id' doesn't have a default value
參考文章http://blog.csdn.net/god8816/article/details/8593419得到解決方法:
將MySQL中對應表的id字段設置爲自增即可
利用MyBatis向MySQL數據庫中插入數據報錯Field 'id' doesn't have a default value
參考文章http://blog.csdn.net/god8816/article/details/8593419得到解決方法:
將MySQL中對應表的id字段設置爲自增即可