public class Super implements Serializable {
private Date date;
@Temporal(TemporalType.DATE)
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date= date;
}
}
Class Sub extends Super{
..other methods
}
I want to do CRUD operation.
When am inserting the values into DB for sub class by setting the superclass POJO
setDate(new Date()).Itz throwing Date column required value to insert.
Is their any relation i have to give?Am in urge ...
[Message sent by forum member 'ashok2u2' (ashok2u2)]
http://forums.java.net/jive/thread.jspa?messageID=249679