日期:2014-05-16  浏览次数:20981 次

mysql中text数据存储
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'book_detail' at row 1

如上问题,原来是text设置太小了,改成MEDIUMTEXT就可以了

源:http://www.iteye.com/problems/37156