Yes, everyfield in the Entity Bean is container managed.
(so,the fields in the getBulk() are )
>
>It is also important that every field in the getBulk() method must also be
>a
>Container managed field. You cannot assume that the fields will be
>maintained
>by the bean unless they are container managed fields. You will know they
>are by
>their appearance in the getXXX() of the remote interface. Your getBulk
>must
>only be a convenience method (not a replacement).
>
>Wayne
>
>Ulas Ergin wrote:
>
> > Hi,
> > Firstly thanx for the answer,
> > yes,getBulk() is a method on the remote interface and I have retrieved
>it
> > with a Finder method but fields are not the same,
> > in fact that was the point of my problem,
> > I guess VAJava local test environment has a problem and something
>triggers
> > this bug (it does not occur always),I am looking for that reason,
> >
> > >Go to news.sofware.ibm.com and subscribe to Enterprise group. That is
> > >where all your
> > >questions can be answered. However, if getBulk() is a method on the
> > >remote
> > >interface of the CMP bean and you have retrieved the bean with a Finder
> > >method, the
> > >fields should be the same as what is in the database.
> > >
> > >Wayne
> > >
> > >Ulas Ergin wrote:
> > >
> > > > Hi,
> > > > I am working with VAJava 3.5 with patch2 applied on it.
> > > > In a CMP entity bean I have a bulk accesor similar to this one...
> > > >
> > > > Bulk getBulk()
> > > > {
> > > > Bulk b = new Bulk();
> > > > bulk.attribute1 = this.attribute1;
> > > > ...
> > > > ...
> > > > return b;
> > > >
> > > > }
> > > >
> > > > when I am working on this with IBM Websphere test environment
>3.5.0.2
> > > >
> > > > it gives this.attribute1 as null sometimes!!! but it is not null!!!
> > > > this happens for some attributes, sometimes for 3-4
>attributes,sometimes
> > >just one.
> > > >
> > > > When I deploy this bean to WebSphere Application Server 3.53 it
>works
> > >just fine!
> > > >
> > > > Does anyone have any experience on this subject,it drives me insane!
> > > >
> > > > Thanx in advance
> > >
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".