wood burning stoves 2.0*
The moose likes JDBC and the fly likes data truncation & SQLException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "data truncation & SQLException" Watch "data truncation & SQLException" New topic

data truncation & SQLException

Jamie Williams
Ranch Hand

Joined: Mar 31, 2006
Posts: 70
I came in to work this week and all of a sudden I'm getting data truncation errors from my MySQL database that are throwing SQLExceptions. The code hasn't changed, I've check code that works on another database with identical table structure on another server, and I'm getting the same problem. Everyone says they haven't changed any settings on the MySQL database but I'm getting these problems nonetheless.

Does anyone have any idea what could of happened? Or is one of my colleagues try to cover up a mistake they made...?
Consider Paul's rocket mass heater.
subject: data truncation & SQLException