hql:
from productTable pt, productType ptt where pt.typeid = ptt.id and ...
处理
List list= this.dao.getInfo(Param param);
if(null != list && list.size()>0) {
    for(int i=0; i<list.size(); i++) {
        Object[] obj = (Object[])list.get(i);
        Product product = (Product) obj[0];
        ProductType producttype = (ProductType) object[1];
        ...
        ....
    }
}