This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I am facing folowing problem while inserting data into mysql table mysql table is Create table MyDate(Date Date, MyDate DateTime)
These record I have added manuly. When I try to add record through Java it put 00 into all fields. Here is java code
===================== Now result is C:\Padmashree\working>java MyTime 2002-40-04 18:40:37 Thu Apr 04 18:40:37 CST 2002
What is happening here? Do i need to convert Java date type to mySql Date type ? is then how? Any help greately appreciated. - padma [ Edited by Dave to format code ] [ April 04, 2002: Message edited by: David O'Meara ]