com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'subject' at row 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by wroot, 1 year ago
Data truncation: Data too long for column 'subject' at row 1
via Jive Software Open Source by wroot, 1 year ago
Data truncation: Data too long for column 'subject' at row 1
via Jive Software Open Source by wroot, 1 year ago
Data truncation: Data too long for column 'subject' at row 1
via coderanch.com by Unknown author, 2 years ago
Data truncation: Incorrect datetime value: '25-apr-2013' for column 'Time' at row 1
via journaldev.com by Unknown author, 1 year ago
Data truncation: Data too long for column 'city' at row 1
via journaldev.com by Unknown author, 1 year ago
Data truncation: Data too long for column 'city' at row 1
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'subject' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2983)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)

Users with the same issue

Once, 3 weeks ago
4 times, 1 month ago
Once, 4 months ago
3 times, 6 months ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.