org.hibernate.PersistentObjectException: detached entity passed to persist

后端 未结 7 1415
生来不讨喜
生来不讨喜 2020-11-30 00:56

I had successfully written my first master child example with hibernate. After few days I took it again and upgraded some libraries. No sure what did I do but I could never

7条回答
  •  猫巷女王i
    2020-11-30 01:27

    Here you have used native and assigning value to the primary key, in native primary key is auto generated.

    Hence the issue is coming.

提交回复
热议问题