Thanks Nathan, You are right, I changed the resulMap as, dept.deptName, Thanks Nathan Maves <[EMAIL PROTECTED]> wrote: Where to start.ClassNotFound is a java error. You have either misspelled you class name and or package. Check that you full class name including package is corr
Where to start.ClassNotFound is a java error. You have either misspelled you class name and or package. Check that you full class name including package is correct.The second problem that I see is in your result map. You specify dept.name when there is no property named that in your Dept.cla
Hi Can you please give more elaborate explanation. I changed person.java to look like public class Person{ private int id; private String firstName; private String lastName; private Date birthDate; private double weightInKilograms; private double heightInMeters; private int dept
On Wednesday 04 January 2006 22:44, radha rukmani wrote:
> Hi
> I am new to iBATIS. I was able to run the person example in the ibatis
> website. For one table, the example says,
>
> SELECT
>PER_ID as id,
>PER_FIRST_NAME as firstName,
>PER_
Consider using composition:
public class Person {
private Dept dept;
...
}
Then you can use a resultMap and assign values to
bean properties by doing:
So you'll have:
..
Zarar
- Original Message -
From:
radha
rukmani
To: