Hi,

I'm thinking of having an import- tool for importing minimal data using jdo.
If I have a collection as a property of one class, is there any possibility
to get the class specified in the mapping files, that is inside this
container.

<class name="FolderBean" identity="id" key-generator="MAX">
                <description>Folder</description>
                <map-to table="folder"/>
                <field name="id" type="integer">
                        <sql name="id" type="integer"/>
                </field>
                <field name="childFolders" type="FolderBean"
collection="vector">
                        <sql many-key="parentFolderId"/>
                </field>
</class>


Is there a way to get the information, that the collection 'childFolders'
contains elements of type 'FolderBean'?


Thanks in advance,

Silvio

<<attachment: winmail.dat>>

Reply via email to