异常1:not-null property references a null or transient value
解决方法:将“一对多”关系中的“一”方,not-null设置为false
http://blog.csdn.net/zdwzzu2006/article/details/7552234
1.Caused by: org.apache.cxf.binding.soap.SoapFault: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing: com.hoperun.pjtool.model.ep.BtbPjtTask.btbPjtTaskRelation -> com.hoperun.pjtool.model.ep.BtbPjtTaskRelation; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing: com.hoperun.pjtool.model.ep.BtbPjtTask.btbPjtTaskRelation -> com.hoperun.pjtool.model.ep.BtbPjtTaskRelation
分析: