Ok. Just checked. I am using the non-static "marshal(Object object)" method
on the Marshaller class.

Dinesh

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2002 01:25
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Transient field in castor ignored



Dinesh,

Arnaud mean't make sure that the Marshaller#marshal method you are using
isn't static.

--Keith

"Somalingam, Dinesh BGI UK" wrote:
> 
> Arnaud,
> Just checked - the getPlanCount() method is non-static. Just to clarify
the
> way I'm using it. In my mapping.xml I have the following :
> 
>         <class name="com.bglobal.delta.Client"
>                  extends="com.bglobal.delta.DataItem"
>                  auto-complete="true">
>             <field name="planCount" transient="true"/>
>         </class>
> 
> ps - The DataItem base class does not have a getPlanCount() method.
> 
> Dinesh
> 
> -----Original Message-----
> From: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2002 20:34
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Transient field in castor ignored
> 
> Hi Dinesh,
> 
> Make sure you are using the non static methods and let us know if there
> is still a problem.
> 
> Arnaud
> 
> > -----Original Message-----
> > From: Somalingam, Dinesh BGI UK
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 17, 2002 4:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: [castor-dev] Transient field in castor ignored
> >
> > My mapping.xml file has the following:
> >  <field name="planCount" type="integer" transient="true"/>
> >
> > When I marshal a bean with method getPlanCount(), I want the
> > marshaller to
> > ignore it. However, it creates a <plan-count> tag. Is this a bug, or
> > am I
> > using it wrong ?
> >
> > Dinesh
> >
> > ps. I'm using castor version 0.9.3.19
> >
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of:
> >       unsubscribe castor-dev
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

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

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

Reply via email to