Is there a way to convert java.sql.Date
to java.sql.Timestamp
?
I have the following code:
java.sql.Date = new Date();
java.sql.Timestamp timestamp = new java.sql.Timestamp(date);
But the Timestamp constructor doesn't seem to support that variable type.