M
Marcelo
Hello,
I am getting the MysqlDataTruncation exception, and i do not know why.
I have tried to enter data automaticly from my java program, but from time to
time I get this error.
do you have an idea?
thanks
Marcelo
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column
'url' at row 1
at com.mysql.jdbc.SQLError.convertShowWarningsToSQLWarnings(SQLError.java:709)
at com.mysql.jdbc.MysqlIO.scanForAndThrowDataTruncation(MysqlIO.java:3408)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1802)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.Statement.execute(Statement.java:529)
at tools.SQLTools.runSQL(SQLTools.java:34)
at tools.SQLTools.insertURL(SQLTools.java:44)
at extraction.DumpImages.fillSQLTables(DumpImages.java:86)
at extraction.DumpImages.dumpFromURL(DumpImages.java:76)
at extraction.DumpImages.run(DumpImages.java:39)
I am getting the MysqlDataTruncation exception, and i do not know why.
I have tried to enter data automaticly from my java program, but from time to
time I get this error.
do you have an idea?
thanks
Marcelo
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column
'url' at row 1
at com.mysql.jdbc.SQLError.convertShowWarningsToSQLWarnings(SQLError.java:709)
at com.mysql.jdbc.MysqlIO.scanForAndThrowDataTruncation(MysqlIO.java:3408)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1802)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.Statement.execute(Statement.java:529)
at tools.SQLTools.runSQL(SQLTools.java:34)
at tools.SQLTools.insertURL(SQLTools.java:44)
at extraction.DumpImages.fillSQLTables(DumpImages.java:86)
at extraction.DumpImages.dumpFromURL(DumpImages.java:76)
at extraction.DumpImages.run(DumpImages.java:39)