As far as I know includes and the like to do not work. But there is
really no reason you would need them because you can define multiple
mapping files in the jdo configuration file.
So your database file would look something like:
<database name="vortSizer-locl" engine="mysql">
<data-source class-name="...">
<param name="server-name" value="..."/>
<param name="database-name" value="...t" />
<param name="user" value="..."/>
<param name="password" value="..." />
</data-source>
<mapping href="conf/common.xml" />
<mapping href="conf/mapping.xml" />
</database>
Hope this works for ya.
-Nick
On Thu, 25 Nov 2004 11:18:44 +0100, Adrian Zachara
<[EMAIL PROTECTED]> wrote:
>
> Hi!
> Got a problem with including mapping :
> "...unable to find FieldDescriptor for 'xxx' in ClassDescriptor of 'yyy'."
> 'xxx' - mapping for a class in the mapping file i'm trying to include
> 'yyy' - my mapping
>
> "common.xml"
> <mapping>
> <class name='...xxx'>...
> <map-to xml='xxx'/>
> </class>
> </mapping>
>
> "mapping.xml"
> <mapping>
>
> <include href="common.xml"/>
>
> <class name='...yyy'>
> <field ...>
> <bind-xml name='xxx'/>
> </field>
> </class>
>
> </mapping>
>
> Are there any restrictions for 'include' ? Do namespaces impact on in ?
> Thanks in advance
> Adrian
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-user
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user