It seems Cayenne cannot parse the datamap with double quotes - they conflict
with other XML code. I suggest you try one of the following:
1. Wrap table names in single quotes (')
or
2. Use " instead of quote symbols
2008/12/5, Alex Gallo <koy.gall..mail.com>:
>
> Thanks very much for your quick response.
>
> However another problem comes up if I try to enclose the table name in
> double quotes. I tend to get this error:
>
>
> org.apache.cayenne.ConfigurationException: [v.2.0.4 October 8 2007] Error
> during Configuration initialization. [v.2.0.4 October 8 2007] Load
> failures.
> Main configuration class: org.apache.cayenne.conf.DefaultConfiguration,
> details:
> domain.map.name=ASECMap, domain.map.location=ASECMap.map.xml, reason:
> map
> loading failed - [v.2.0.4 October 8 2007] Wrong DataMap format, last
> processed tag: <null
>
> It seems cayenne encounters a read problem with the Data Map on the node
> containing double quotes
>
> Again your help is very much appreciated
>
>
> Alex Gallo
>
This archive was generated by hypermail 2.0.0 : Fri Dec 05 2008 - 02:41:58 EST