This content has been marked as final.
Show 1 reply
-
1. Re: oracle date format
sesques Apr 12, 2004 9:10 AM (in response to doshiaj)the java.sql.Timestamp class is not meant to be type-compatibly with
java.util.Date (even though it inherits from it it is only meant to be
considered as implementation inheritance).
So you have two solutions:
- 1 Use DateFormat or SimpleDateFormat format and parse methods to convert to the correct format but you will loose milliseconds.
- 2 use a raw(8) instead of DATE