摘要: org.hibernate.PropertyValueException: not-null property references a null or transient value: com.yc.pro4.po.Street._com.yc.pro4.po.District.streetsBackref--d.getStreets().add(s1 );--d.getStreets().add(s2);java.lang.NullPointerException没有实例化 hashsetprivate Set streets=new HashSet();没有设置一对多的集合org.hib 阅读全文