Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'phone' at row 1

Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'phone' at row 1

To insert data exceeds the length of the data can be stored in the database, so will have this error,

A data type can change into the field. BIGINT used.

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11365735.html