java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

Hi All,

For below java snippet :-

startTimestamp = Timestamp.valueOf(yyyy-mm-dd HH:MM:SS);

in Wm7.1, Java 1.6.0 above works fine. But on wM9.5, Java1.7.0 same throws exception as :-
java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

Only error I could guess is the wrong Month format(mm). But it works on wM7.1. Please suggest regarding the exception on wm9.5.

Regards
Gaurav

May be latest jvm expect datatime as oracle time stamp.

Please check api