I would like to add a value object to the mapped class, where one column is fixed depending on the class containing the component. How can I do something like this?
<component name="aComponent"> <property name="abc" column="cde"/> <property name="xyz" value="FIXED"/> </component>
Unfortunately, the value attribute does not exist. Is there any other way to apply a constant value to a property?
Thanks in advance.
hibernate
bertolami
source share