Hi, I am getting the following exception for the select query. com.ibatis.common.beans.ProbeException: Could not set property 'fltSalary' for EmployeeBean
The data type for the field in database is number(16,6) and I declared it as float in the bean. The select query for this is as follow: <resultMap id="get-details" class="EmployeeBean"> <result property="strName" column="name" /> <result property="fltSalary" column="salary" /> </resultMap> <select id="getSalary" resultMap="get-details" parameterClass="EmployeeBean"> select name,salary from Emp1 where empid = #intEmpId# and dept = #strDept# </select> The values that salary field is holding are within the float range.Can anyone please tell me why this exception is coming.