not-null property references a null or transient value

前端 未结 7 1053
离开以前
离开以前 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).

    0 讨论(0)
提交回复
热议问题