[Solved] java.sql.BatchUpdateException: Data truncation
[Solved] java.sql.BatchUpdateException: Data truncation
BatchUpdateException is sub class of SQLException. BatchUpdateException occurred when any queries fail during batch update. BatchUpdateException also return the values of counts for each queries update before queries fail.
A SQL queries can fail because of data constraints violations or syntax issues etc.
Below is some common situation where ConstraintViolationException occurs:
Insert a record…
View On WordPress













