Hibernate: More than one row with the given identifier was found error

前端 未结 10 913
有刺的猬
有刺的猬 2020-12-01 01:20

I\'m using spring 4.0.5 and hibernate 4.3.5; I\'m facing an error with hibernate and I can\'t figure where I\'m wrong (because I\'m sure I\'m wrong). I have a table related

10条回答
  •  佛祖请我去吃肉
    2020-12-01 02:06

    Neither of above solutions worked for my case. I only could make it work by changing from bidirectional one-to-one relationship to unidirectional one-to-one relationship.

提交回复
热议问题