Hi Alok,

try <include href="../ctf/jdo/tc0x/mapping.xml"/>.

Regards
Ralf
Castor JDO, committer


Alok Kumar(RPM) schrieb:

Hi all,

I have following mapping file(mapping.xml).spaceDTO class contains objects of Pages class. Can I write the mapping for Class “Pages” in another xml file and then refer it through by main mapping file(mapping.xml).

<mapping>

<class name="com.symphonyrpm.applayer.workspace.dto.WorkspaceDTO">

<map-to xml="container" />

<field name="plugInType" type="integer">

<bind-xml name="plugInType" node="attribute" />

</field>

<field name="wspId" type="string">

<bind-xml name="wspId" node="attribute" />

</field>

<field name="pages" type="com.symphonyrpm.applayer.workspace.dto.Pages">

<bind-xml name="pageList" />

</field>

</class>

<class name="com.symphonyrpm.applayer.workspace.dto.Pages">

<field name="pages" type="com.symphonyrpm.applayer.workspace.dto.PageDTO" collection="arraylist">

<bind-xml name="pages" />

</field>

</class>

</mapping>


-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to