Hello,
I have a
Child Class with some attributes.
This
Child Class is an attribute of a
Parent Class.
Quite simple ;-)
I'd like to make reference to an attribute of the
Child Class in the mapping of my
Parent Class, without having to use association.
Can I make something like this ?
Code:
<hibernate-mapping package="com.cwsoft">
<class name="Parent" table="TAD01">
<id name="entity" type="string" column="CODETT">
<generator class="assigned"/>
</id>
<property name="enfant.entityType" column="TYPETT" type="string" />
</class>
</hibernate-mapping>
Thanks in advance.