This is nothing to do with JDBC at all. You simply have misunderstood SimpleDateFormat. Direct quote from its API documentation:
For parsing, if the number of pattern letters is more than 2, the year is interpreted literally, regardless of the number of digits. So using the pattern "MM/dd/yyyy", "01/11/12" parses to Jan 11, 12 A.D.
posted 7 years ago
aha !! thanks Paul.
Message for you sir! I think it is a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads