Hi,
how do i get access to a one-to-one association defined in a dynamic-component? I would reference to this object by the generator class "foreign".
e.g.
Code:
<class name="bo.complex.person.PersonDynamicOld" table="ZZ_PERSON_DYNAMIC_OLD">
<id name="id" type="long" unsaved-value="-1">
<column name="ID" not-null="true"/>
<generator class="foreign">
<param name="property">bo.complex.person.Person.dynamics.person</param>
</generator>
</id>
<property name="uncastedValue" type="string">
<column name="UNCASTED_VALUE" not-null="true"/>
</property>
<property name="valueClass" type="class">
<column name="VALUE_CLASS" not-null="true"/>
</property>
<many-to-one name="dynamicMetaInf" column="META_INF_ID" class="bo.complex.DynamicMetaInf" cascade="all-delete-orphan"/>
<dynamic-component name="dynamics">
<one-to-one name="person" class="bo.complex.person.Person" cascade="none"/>
</dynamic-component>
</class>
Thanks