# Does hbm going to die in Hibernate 6

**URL:** <https://discourse.hibernate.org/t/does-hbm-going-to-die-in-hibernate-6/5804>\
**Category:** Hibernate ORM\
**Created:** [October 25, 2021, 4:41pm UTC](https://discourse.hibernate.org/t/does-hbm-going-to-die-in-hibernate-6/5804 "2021-10-25T16:41:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![someGuy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/someguy/32/4035_2.png) [@someGuy](https://discourse.hibernate.org/u/someGuy)\
**Post date:** [October 25, 2021, 4:41pm UTC](https://discourse.hibernate.org/t/does-hbm-going-to-die-in-hibernate-6/5804/1 "2021-10-25T16:41:09Z")

</div>

We have a legacy code written in Hibernate 3.1 and I’m working to upgrade it to 5.8.

I really want to remove all hbm files. Is there an Hibernate version that will eventually deprecate it?

---

<div class="post-metadata">

**Author:** ![beikov](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/beikov/32/258_2.png) [@beikov](https://discourse.hibernate.org/u/beikov)\
**Post date:** [October 27, 2021, 7:30am UTC](https://discourse.hibernate.org/t/does-hbm-going-to-die-in-hibernate-6/5804/2 "2021-10-27T07:30:08Z")

</div>

HBM is deprecated and will most likely go away in some 6.x or 7.x version, but right now, we still support it since there is no XML based alternative for Hibernate specific features yet.
