RE: java.util.Date, jdbc, and DATETIME

2001-10-31 Thread MNewcomb
That is the problem. I changed the mapping for java.util.Date to a JDBC type of TIMESTAMP, which is mapped to a mySQL type of DATETIME. I am now getting the desired results. Thanks, Michael -Original Message- From: Philip Molter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31,

java.util.Date, jdbc, and DATETIME

2001-10-31 Thread MNewcomb
This question was asked back in 1999 and wasn't answered, so hopefully someone will answer it now. I am using JBoss and they provide a JDBC to mySQL type mapping that maps java.util.Dates to a jdbc-type of DATE and mySQL type of DATETIME. Well, only the date portion (10-31-2001) is being stored