Stephen Harvey created an issue — 15th June 2012, 12:04:48:
Mapping by code does not provide a mechanism allowing the user to do the following:
<many-to-one name="EntityType">
<formula>8579</formula>
<column name="ENTITY_SECTION" />
</many-to-one>
This xml config allows the user to create a reference to a foreign key with a fixed value created by the formula.
IManyToOneMapper allows a formula OR a set of columns, but not both.
Alexander Zaytsev added a comment — 24th November 2014, 21:12:53:
Does it work in HBM?