Data truncation: Incorrect date value: '' for column 'insertdate' at row 1
*userinfo.setInsertdate(new Date());*
DateFormat df=new SimpleDateFormat("yyyy-MM-dd");
Date date= df.parse("2017-11-29");
userinfo.setInsertdate(date)