stmt.setTimestamp(4, new Timestamp(new Date().getTime())); 下列是错误的语句 stmt.setDate(4, (java.sql.Date) new Date());