Hi Keith,
It worked. I get all attributes now.
But the field "ObjectkindName" is not ignored. What can I do about that?
Actually, I don't even have declared this attribute (field) in my javacode. It
is just a public String getObjectkindName()-method.
Katja
>
> Hi Katja,
>
> You mapping for the
Hi Katja,
You mapping for the key is as follows:
So you're telling castor that you only care about one field, but then
you mark it as transient, I have a feeling you want the following
instead:
[EMAIL PROTECTED] wrote:
>
> Removing 'container="false"' didn't really help.
> Wha
Removing 'container="false"' didn't really help.
What happend is following but the missing attributes didn't show up.
This is the new xml file without 'container="false"' and two elements in the
HashMap:
-
http://www.w3.org/2001/XMLSchema-instance"; />
-
-
50
200
-
I think the problem is coming from the container="false".
Try removing that and it should work ok.
--Keith
[EMAIL PROTECTED] wrote:
>
> Hello,
>
> I'm un/marshalling a HashMap but not all attributes of the key are getting
> marshalled. Of course I can't unmarshall them either.
> Following i
Hello,
I'm un/marshalling a HashMap but not all attributes of the key are getting
marshalled. Of course I can't unmarshall them either.
Following is a part of my mapping file. graphicData is the HashMap I'm saving.
..