I have a column in a MySQL table of type DATETIME.
In eDir there is an attribute formatted as yyyyMMdd that I need to
write to that column.

I've tried converting it to "yyyy-MM-dd hh:mm:ss" but the driver says
it can't convert that to java.sql.Timestamp.

I tried to convert it to a long but the driver thinks the value is a
string and tries to convert it to "yyyy-MM-dd hh:mm:ss".

How should I format the date value to enable it to be written to MySQL
from the driver?


--
bamund
------------------------------------------------------------------------
bamund's Profile: http://forums.novell.com/member.php?userid=46798
View this thread: http://forums.novell.com/showthread.php?t=384554