data type exception in hibernate
HHi Folks,
I have the property in pojo that is of type as shown..
private DateTime updateddate;
now I have to set it type to hibernate query also please suggest what will
be the type..
addScalar("updateddate",Hibernate.DATE)
it is throwing this exception..
org.hibernate.property.BasicPropertyAccessor IllegalArgumentException
in class: setter method of property: updateddate
2013-08-17 16:41:08.252 ERROR [NDC=] [Thread-73]
org.hibernate.property.BasicPropertyAccessor expected type:
com.rbsfm.ice.common.date.DateTime, actual value: java.sql.Time
No comments:
Post a Comment