public void num() throws Exception { // This will load the MySQL driver, each DB has itsown driver // Setup the connection with the DBconnect = DriverManager.getConnection("
我已经给出了date类型和timestamp数据类型(4/2/2015 3:10:36 PM),但我得到了下面的错误。这个日期我是从XLSX工作表调用的。Exception in thread "main" com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value:4235)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(