IManyToOneMapper does not expose method to add columns AND formula into a single relationship.

Description

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.

Environment

None

Activity

Show:

Frédéric Delaporte November 8, 2018 at 10:32 AM

Moved here.

Frédéric Delaporte June 19, 2018 at 3:31 PM

Moved here.

Alex Zaytsev November 24, 2014 at 9:12 PM

Does it work in HBM?

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created June 15, 2012 at 12:04 PM
Updated November 8, 2018 at 10:32 AM
Resolved November 8, 2018 at 10:32 AM
Who's Looking?