-
-
Save brmeyer/afac86cfaa6fac3232bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<class name="Party" mutable="false"> | |
<join table="contract_party" | |
inverse="true" | |
optional="true"> | |
<key column="party"/> | |
<many-to-one name="contract" | |
column="contract" | |
not-null="true"/> | |
</join> | |
</class> | |
<class name="Contract" mutable="false"> | |
<set name="parties" table="contract_party" inverse="false" mutable="true" cascade="all"> | |
<key column="contract"/> | |
<many-to-many column="party" unique="true" class="Party"/> | |
</set> | |
</class> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment