Thursday, May 14, 2009

SQL SERVER Java Error Data Truncation Src

We've now seen the error Data truncation src in the java logs twice in the last year. Unfortunately mapping it a to a SQL Server error message has been difficult. However in both cases this has been caused by putting data into an incompatible field, with an Arithmetic overflow error. Putting a smallint into a tinyint and a bigint into an int.

No comments: