String formatDate = sdf.format(datebox.getValue()); para.setCreate_time(Timestamp.valueOf(formatDate));