Spring data mapping problem.
Posted
by Yashwant Chavan
on Stack Overflow
See other posts from Stack Overflow
or by Yashwant Chavan
Published on 2010-05-04T08:29:10Z
Indexed on
2010/05/04
12:18 UTC
Read the original article
Hit count: 223
Hi, I am using spring and hibernate along with my different components
There is date field in DB as contract_end_date as a Date , so my pojo also contains date getter setter for contract_end_date, but when i submit form to Multiaction controller it gives data bindding exception for contract_end_date. It trying to search string getter setter for contract_end_date.
So is there is any solution to handle this kind of problem. This is my pojo.
after sumitting the form getting data binding exception
public class Clnt implements java.io.Serializable {
private String clntId;
private String clntNm;
private String busUnitNm;
private String statCd;
private String cmntTx;
private Date contractEndDt;
}
© Stack Overflow or respective owner