Hi,
I have table structure like below in Oracle name varchar2 class char school varchar2 roll_no Number Primary Key
I am using Spring along with hibernate. On the server startup i m getting error property not found for Col4 in the pojo class. I have tried with the int, Integer and Long datatype for col4 in the Pojo class. hbm.xml will look like this
<class name="pojo" table="table" mutable="false"> <id name="rollNo" column="roll_no"/> <property name="name" column="name"/> <property name="class" column="class"/> <property name="school" column="school"/>
Regards Samar
|