# ObjectNotFoundException in 6.2 when reusing a column

**URL:** <https://discourse.hibernate.org/t/objectnotfoundexception-in-6-2-when-reusing-a-column/7636>\
**Category:** Hibernate ORM\
**Created:** [May 13, 2023, 11:12am UTC](https://discourse.hibernate.org/t/objectnotfoundexception-in-6-2-when-reusing-a-column/7636 "2023-05-13T11:12:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gtoison](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/gtoison/32/3069_2.png) [@gtoison](https://discourse.hibernate.org/u/gtoison)\
**Post date:** [May 15, 2023, 10:07am UTC](https://discourse.hibernate.org/t/objectnotfoundexception-in-6-2-when-reusing-a-column/7636/3 "2023-05-15T10:07:41Z")

</div>

You’re right, I’ve removed some code for brevity but got the annotation wrong: indeed I am using @JoinColumn and @ManyToOne

If this seems like a bug I’ll try to put together a test case reproducing the problem  
Thanks!

---

_[View the full topic](https://discourse.hibernate.org/t/objectnotfoundexception-in-6-2-when-reusing-a-column/7636)._
