not-null property references a null or transient value

前端 未结 7 1077
离开以前
离开以前 2020-12-02 11:15

Facing trouble in saving parent/child object with hibernate. Any idea would be highly appreciated.

org.hibernate.PropertyValueException: not-null property re         


        
7条回答
  •  一个人的身影
    2020-12-02 11:49

    for followers, this error message can also mean "you have it referencing a foreign object that hasn't been saved to the DB yet" (even though it's there, and is non null).

提交回复
热议问题