Hi all,
I'm having a few major issues with Date over
jdbc.
i) when i read a date out from my mysql database it cast it into java.util.Date to store in an object(errors if i try to store as java.sql.Date). Later on i have major problems trying to compar this date object...
ii) the second probelm is writing date to the db through jdbc. I set the date from todays date, cast it to java.sql.Date but when i write it to the db. i get 00-00-0000 in the db
Obviosly there is somethign strange going on between java.util.Date and java.sql.Date. Any help would be appreciated.
Cheers