IllegalArgumentException occurred while calling

bean: MySite某一属性

private Long isShare;

 

hibernate映射文件:

 

导致异常结果:

 

org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.zxr.shoucang.domain.MySite.isShare

 

....

Caused by: java.lang.IllegalArgumentException: argument(论点) type mismatch(翻译:类型不匹配(错配))

 

这个异常java.lang.IllegalArgumentException:参数类型不正确的异常

 

解决办法:

你可能感兴趣的:(Hibernate3.0,J2EE,setter,bean)