Hello.
I want to store into the same table, in different columns 2 java.sql.Date
objects to their corresponding SQL Datetime.
It works fine, but the hour, minute and seconds are truncated. That's documented in the javadoc.
For instance having the date: 5/30/2009 14:33:21 AM when inserted in table it is truncated to 5/30/2009 12:00:00 AM .
I've also tried to store it as a Timestamp, but I cannot have 2 rows with Timestamp format into the same table.
Is there a workaround or something ?