Skip to content

Commit e92804c

Browse files
fixup! Support mixed formulas and columns
Enable a doc example requiring this support
1 parent 9e83420 commit e92804c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/reference/modules/example_mappings.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ alter table line_items
496496

497497
</sect2>
498498

499-
<!-- This example is not supported by NHibernate, because HbmManyToMany lacks a ColumnsAndFormulas handling
500499
<sect2 id="example-mappings-miscellaneous-m2mcomposite">
501500
<title>Many-to-many with shared composite key attribute</title>
502501

@@ -535,8 +534,12 @@ alter table line_items
535534
</set>
536535
</class>]]></programlisting>
537536

537+
<para>
538+
This case requires mixing column and formula under the <literal>&lt;many-to-many&gt;</literal>
539+
element, which is supported only since NHibernate 5.2.
540+
</para>
541+
538542
</sect2>
539-
-->
540543

541544
<sect2 id="example-mappings-miscellaneous-contentdiscriminator">
542545
<title>Content based discrimination</title>

0 commit comments

Comments
 (0)