Hi,

 

I’m working with an application which includes v9.4 of castor. I need to use the nested class mapping feature to populating a hashmap which comes with v9.5.3, i.e.

 

        <bind-xml ...>
                   <class name="org.exolab.castor.mapping.MapItem">
                      <field name="key" type="java.lang.String">
                        <bind-xml name="id"/>
                      </field>
                      <field name="value" type="com.acme.Foo"/>
                   </class>
        </bind-xml>
 

I’m pretty sure the application vendor is not going to want me to upgrade. I have two questions:

 

1.       Are there any significant changes between 9.4 and 9.5.3 which might affect the rest application? I may just upgrade regardless of what the vendor says.
2.    Is there another way handle hashmaps in v9.4?

 

Reply via email to