# RelationShip N,M with property

**URL:** <https://discourse.hibernate.org/t/relationship-n-m-with-property/627>\
**Category:** Hibernate ORM\
**Created:** [April 27, 2018, 2:29pm UTC](https://discourse.hibernate.org/t/relationship-n-m-with-property/627 "2018-04-27T14:29:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoomx](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zoomx](https://discourse.hibernate.org/u/zoomx)\
**Post date:** [April 27, 2018, 2:29pm UTC](https://discourse.hibernate.org/t/relationship-n-m-with-property/627/1 "2018-04-27T14:29:31Z")

</div>

Hello  
Being new to nhibernate, could anyone explain to me how to generate hbml files for an n, m relationship containing a property, with a ample

Before i had a property in the relationship, all run correctly  
I had a many-to-many in the table A, now ithe relationship become a entity and all scratch.

Thanks for your anwer

---

<div class="post-metadata">

**Author:** ![vlad](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/vlad/32/658_2.png) [@vlad](https://discourse.hibernate.org/u/vlad)\
**Post date:** [April 27, 2018, 2:47pm UTC](https://discourse.hibernate.org/t/relationship-n-m-with-property/627/2 "2018-04-27T14:47:36Z")

</div>

> [@NHibernate One-to-many between View and Table](https://discourse.hibernate.org/t/nhibernate-one-to-many-between-view-and-table/198/4):
>
> This forum is just for Hibernate projects you will find on hibernate.org. NHibernate is a separate project, and we don’t maintain it. Here’s a post from the old forum which tells you how to reach the [NHibernate forums](https://forum.hibernate.org/viewtopic.php?f=25&t=994308).
