Hallo everyone

Can I do the following.. and if a can how to do it...

The problem
-----------
I have a Class A which extends B, and a Class C which contains a collection
of A, which at runtime should be B (or another subclass of A).

Class A has id_A as key

Class B has id_b as key

In Class C there is the following field map

<field name="manyA" type="a" required="true"
           collection="vector">
      <sql many-key="id_A" />
      <xml name="a" node="element" />
</field>

My problem is that when I retrieve C it fetching the class A instead of the
object B (or another subclass)
----------

It there any solution, workaround, please help.

Thanks in advance.

Per J�rgensen

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to