取数据?级联
public List<City> findAllCity(Integer pid){ List<City> list=null; try { String hql="from city where pid="+pid; list=getSession().createCriteria(hql).list(); } catch (Exception e) { e.printStackTrace(); } return list; }