Change java.sql.Date to java.sql.Timestamp.