That's strange.  How are you determining the identity of the returned beans?
Post the code + results...

"Hardy, Patrick, DDI - Garden City" wrote:

> Hello,
>
> I just read the section
> http://www.jboss.org/newsite/documentation/jawsxml_howto.html#finders on
the
> JBoss site and it says that:
>
> "for each of the cmp-fields of your bean, findByXX(YY fieldValue), where
XX
> is the name of the cmp-field (NOT case-sensitive) and YY its class, will
> return a Collection of all the beans with the right value in this field."
>
> My finder is finding the correct number of beans. However, when I go
through
> the list of beans in my collection, the collection consists of the first
> bean, n number of times. If I find 5 beans, the first bean will be in the
> collection 5 times, and not all 5 beans.
>
> Can anyone explain to me why I'm having this problem? I don't think it's
> necessary to define a WHERE clause.
>
> Thanks.
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to