deprecated date problem...
** cross posted on SDN JSC Forum and Netbeans J2EE Nabble forum **
I'm trying to automatically create a 7 row table that's bound to a database with the first column of type DATE (MySQL.) The dates are static text fields that I populate with the dates of a given week and are saved to the database upon commit. The problem is that I compute the dates using Calendar objects and the only format that saves back into MySQL DATE fields (that I can find) is YYY-MM-DD, I'd like the column to display asMonth dd, yyy (i.e May 2, 2007) but if I seed the column with the latter format it won't convert and commit succesfully. If I use the YYYY-MM-DD format it will commit and upon refresh will show up asMonth dd, yyyy! a java.util.Date object will convert naturally in that space -i.e. I can just setthe column value to the date object and it will display, commit and redisplay asMonth dd, yyyy but Date objects are deprecated and I can't adjust them accordingly. (see thread: http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5049871) What are my options here?
Thanx in adv

