[
http://jira.codehaus.org/browse/XFIRE-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202074#action_202074
]
Alexandre Vandenabeele commented on XFIRE-1148:
------------------------------------------------
The map defined like this : "String / String" allows to have a null value in a
value of the map.
But if i add this mapping file (aegis.xml):
<mappings>
<mapping>
<property name="myAttribute1" keyType="java.lang.String"
componentType="java.lang.String" />
</mapping>
</mappings>
So i have the same problem , the String is empty rather than null.
> Value of the key is an empty string rather than the null value
> --------------------------------------------------------------
>
> Key: XFIRE-1148
> URL: http://jira.codehaus.org/browse/XFIRE-1148
> Project: XFire
> Issue Type: Bug
> Components: Aegis Module
> Affects Versions: 1.2.6
> Environment: PC
> Reporter: Alexandre Vandenabeele
> Assignee: Dan Diephouse
>
> When I get my hashmap, the value of a key is not null but an empty string.
> However, it is initialized with null values.
> Here is my mapping file in order to map my HashMap :
> <mappings>
> <mapping>
> <property name="myAttribute1" keyType="...MyEnum1"
> componentType="java.lang.String" />
> </mapping>
> </mappings>
> For information, the key of my hashmap is an Enum.
> Why do I have empty strings when I receive my request?
> Thanks in advance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email