Can you attach a small example which demonstrates the problem?

A possible work around is to use an "add method" so you can control
the collections...

<field name="someClass" set-method="addSomeClass" ...>

Note that you need to use the set-method attribute to specify the
add-method.

Thanks,

--Keith

> Uddhav wrote:
> 
> Hi,
>    I have a class which intitalises the size of the array
>   when the class is instantiated.
>   SomeClass[] refClass_ = new SomeClass[4];
>   // corresponding getter-setter
> 
>    Marshalling works fine however when I unmarshal I have
>   eight elements in the array instead of the expected four.
> 
>   Has anyone faced a similar situation? If so, what is the
>  possible workaround for this.
> 
> Thanks,
> Uddhav
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to