Home > database >  Mysql decical 'null error Java SQL. SQLException: Data truncated for the column
Mysql decical 'null error Java SQL. SQLException: Data truncated for the column

Time:11-25

Type v is decical
An insert into the table in the navicate (v) values (' ') is not an error
An insert into the table in the Java program (v) values (' ') error Java. SQL. SQLException: Data truncated for column
An insert into table (v) values (' 0 ') is not an error

CodePudding user response:

Can '0' is not an error, because of the implicit conversion...
  • Related