What's the Java type for these fields ? java.lang.Object ?

Apart from this, can I please ask you to file a new issue at

http://jira.codehaus.org/browse/CASTOR

and attach all relevant files and instructions so that I am easily
enabled to replay the problem. In your case, this should include at least

- a Java class that 'creates' a wrong collection mapping
- instructions for calling the MappingTool class.

In general, the more time you spend on giving me something that I can
use out-of-the-box, the more likely a short turn-around time will be.

Regards
Werner

Singh, Harjit wrote:
> Hi there,
> 
> When I'm generating the mapping using the mapping tool I get some
> elements as like this
> 
> <field cst:name="aplctIndvl" cst:type="java.util.Set">
>                       <bind-xml name="aplct-indvl" node="element"/>
> </field>
> 
> When I use this mapping and try to marshall my pojo I get an error. If I
> use replace the above mapping with the below mapping it works
> 
> <field name="aplctIndvls" type="java.lang.Object" collection="set">
>                       <bind-xml name="aplct-indvls" node="element"/>
> </field>
> 
> 
> Is there any way to specify to the mapping tool to generate these
> mapping instead of the above ones ?
> 
> Thanks
> 
> - Harjit
>  
> 
> 
> This email, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed.  If the reader of this email is not the 
> intended recipient or his or her authorized agent, the reader is 
> hereby notified that any dissemination, distribution or copying of this 
> email is prohibited. If you have received this email in error, 
> please notify the sender by replying to this message and delete this 
> email immediately.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to