how to solve "java.sql.Timestamp does not have a no-arg default constructor" ?
@XmlJavaTypeAdapter(value=TimestampAdapter.class,type=Timestamp.class)
@Column(name = "ENDTIME", length = 7)
public Timestamp getEndtime() {
return this.endtime;
}
public void setEndtime(Timestamp endtime) {
this.endtime = endtime;
}
@XmlJavaTypeAdapter(value=TimestampAdapter.class,type=Timestamp.class)
@Column(name = "ENDTIME", length = 7)
public Timestamp getEndtime() {
return this.endtime;
}
public void setEndtime(Timestamp endtime) {
this.endtime = endtime;
}