java.util.Date vs java.sql.Date: when to use which and why?
java.util.Date
java.sql.Date
I had the same issue, the easiest way i found to insert the current date into a prepared statement is this one:
preparedStatement.setDate(1, new java.sql.Date(new java.util.Date().getTime()));