# Manually setting the identifier results in object optimistic locking failure exception

**URL:** <https://discourse.hibernate.org/t/manually-setting-the-identifier-results-in-object-optimistic-locking-failure-exception/10743>\
**Category:** Hibernate ORM\
**Created:** [December 5, 2024, 11:42am UTC](https://discourse.hibernate.org/t/manually-setting-the-identifier-results-in-object-optimistic-locking-failure-exception/10743 "2024-12-05T11:42:22Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Jimmy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/jimmy/32/3732_2.png) [@Jimmy](https://discourse.hibernate.org/u/Jimmy)\
**Post date:** [January 2, 2025, 9:07am UTC](https://discourse.hibernate.org/t/manually-setting-the-identifier-results-in-object-optimistic-locking-failure-exception/10743/9 "2025-01-02T09:07:29Z")

</div>

Have you found a solution?

---

_[View the full topic](https://discourse.hibernate.org/t/manually-setting-the-identifier-results-in-object-optimistic-locking-failure-exception/10743)._
