com.mysql.jdbc.MysqlDataTruncation

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JDBC Batch insert update MySQL Oracle - JournalDev
    via by Unknown author,
  • Data too long for column mysql
    via by Unknown author,
  • LogBlock and the Far Lands
    via GitHub by tigerw
    ,
  • Database errors in Mirth channel
    via Stack Overflow by Trung Bún
    ,
  • Truncate offline cause
    via GitHub by cbos
    ,
    • com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'name' at row 2 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2939) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715) at com.mysql.jdbc.Connection.execSQL(Connection.java:3249) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1268) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1541) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1455) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1440) at com.mysql.jdbc.PreparedStatement.executeBatchedInserts(PreparedStatement.java:1008) at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:908) at com.journaldev.jdbc.batch.JDBCBatchExceptions.main(JDBCBatchExceptions.java:37)

    Users with the same issue

    pulse00pulse00
    1 times, last one,
    AxeloAxelo
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    KialandeiKialandei
    12 times, last one,
    tvrmsmithtvrmsmith
    1 times, last one,
    20 more bugmates