To the listserver admin,

I have this one mail sent to me repeatedly on an hourly basis;  our sys
admin says its not stuck in our inbox queue, so it's probably stuck in the
listservers out queue?

Gene

-----Original Message-----
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 8:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Return Collection (or array) of value objects?


>>>>> "Victor" == Victor Langelo <[EMAIL PROTECTED]> writes:

    Victor> Finder methods always return entity beans. And since entity
beans are remote objects you
    Victor> actually get stubs (or in case of jboss dynamic proxies). If you
want value objects you'll
    Victor> need to iterate though you're entity beans, get their value
objects and add the value
    Victor> object to your array list.

    Victor> "David M. Karr" wrote:

    >> Collection  scgList  = scgHome.findByClassName(name);
    >> result   = new ArrayList(scgList);

That was it, thanks.  I had a brain cramp there.

--
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

===========================================================================
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".

===========================================================================
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".

Reply via email to