I am working with Java and recently I came around something interesting.
When I try java.sql.Timestamp.valueOf("0000-00-00 00:00:00.0") with older version Java 1.6 it is working and when run in Java 1.7 it is returning "Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]".
Tried to find a cause in the Java Doc but with no conclusion.
Can someone explain me the reason please.
Thanks in advance.