Re: XML Encoder in Apache

2007-12-13 Thread Kevin Menard
Hi Todd, I'm taking this back to the list. You seem to have been the victim of out of date documentation. I was initially writing the documentation as the XML serialization feature was being developed. The API evolved and unfortunately I didn't stay on top of the docs. I've now updated them ba

Re: Another XML Mapping Question

2007-12-13 Thread Kevin Menard
Nope. All mapping is done via child elements, save for some special attributes, such as "forceList". As with everything else, if you'd like to see it done at some point, please open a JIRA issue for it. -- Kevi On 12/13/07 3:57 PM, "Ted Moens" <[EMAIL PROTECTED]> wrote: > Greetings: > > Is

Re: XML Mapping File

2007-12-13 Thread Kevin Menard
Hi Ted, Comments are in-line. On 12/12/07 6:21 AM, "Ted Moens" <[EMAIL PROTECTED]> wrote: > 1) if one does not define the properties of an object explicitly in the > Mapping file, Cayenne does its best and outputs all the scalar > properties or an object in the XML Example: > > 2007-12-10 09:

Another XML Mapping Question

2007-12-13 Thread Ted Moens
Greetings: Is there any way to have the the XML Mapping File cause some of an object's properties as attributes in the XML? For Example I can easily generate XML like this: 123123776 Serafina ... But I'd like to generate the following XML: Serafina

Register object in multiple dataMaps environment

2007-12-13 Thread james yong
Hi, I am using cayenne-server-3.0M1. In my application, there is multiple dataMaps for a dataDomain. How can I register an object? I tried CmsText cmsText = new CmsText(); context.registerNewObject(cmsText); But it gives the following exception: java.lang.IllegalArgumentException: Can't find

Re: 2.0.4 NullPointerException in ExpressionFactory.likeExp

2007-12-13 Thread Andrus Adamchik
Hi Carmen, I just checked the SVN history of the files in question. It is a new bug introduced when fixing another bug (CAY-832). I'll open a Jira for that and we'll implement a fix. You can use 2.0.3 for now if you can't work around this issue in the code. Thanks, Andrus On Dec 13, 200