异常1:not-null property references a null or transient value解决方法:将“一对多”关系中的“一”方,not-null设置为false(参考资料:http://www.thearcmind.com/confluence/pages/viewpage.action?pageId=212)异常2:org.hibernate.TransientObjectException: object references an unsaved transient instance解决方法:cascade="save-update,persist& Read More
posted @ 2013-08-16 17:32
馨缘6009
Views(169)
Comments(0)
Diggs(0)
Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.ja Read More
posted @ 2013-08-16 14:48
馨缘6009
Views(451)
Comments(0)
Diggs(0)