0

I am getting the following error even though I have set datatype as "longtext" for column "text" -

03:28:07 org.apache.commons.logging.Log$error$5 com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'text' at row 2

What are the other possible data types? Any suggestions would be appreciated.

Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360
rjlion795
  • 515
  • 1
  • 5
  • 16

1 Answers1

0

If LONGTEXT format is not enough for you, you can use the BLOB format, the MySQL Documentation got an article about this problem. The BLOB and TEXT Types

Arnaud Peralta
  • 1,287
  • 1
  • 16
  • 20