如果要用left outer join
则,要在xml文件加2个xml的对应关系,一对一,一对多,多对多等如果不用,也可以直接这么写select  child, person from Child child,Person person where child.personId=person.Id返回是一个树组然后取
List list=.......
  Iterator it = list.iterator(); 
     while (it.hasNext()) { 
     Object[] tuple = (Object[]) it.next(); 
     child= (Child) tuple[0];
     person = (Person ) tuple[1]; 
     }