java.lang.ClassCastException:
Hiber.entity.Dept cannot be cast to Hiber.entity.Emp:
原因是: 类型转换异常dept.hbm.xml中包名,类名写错
java.lang.ClassCastException:
Hiber.entity.Dept cannot be cast to Hiber.entity.Emp:
原因是: 类型转换异常dept.hbm.xml中包名,类名写错