I marked one of my fields as transient but it still shows up in my
marshalled output. What am I doing wrong?

public class X
{
    public String getCoCd() {...}
    public void setCoCd(String a_coCd) { ...}
    ....
}

And my mapping file. I'm not sure why transient exists at 2 levels but I
tried it on the field and bind-xml level separately to no avail. Also, I
didn't see in the docs reference to <bind-xml transient="true" /> but saw it
in a previous posting.

                <class name="X" auto-complete="true">
                        <field name="CoCd" type="java.lang.String"
transient="true">
                      <bind-xml transient="true" />
              </field>
                </class>

Also, when I marshall can the XSI info not be generated -> xsi:type="X"


Elan 

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

Reply via email to