Sorry, I'm using the 2.0 FINAL release. Does the issue I mentioned a known
bug in 2.0 FINAL?

Thanks.




-----Original Message-----
From: danch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 18:58 PM
To: JBoss-User
Subject: Re: [jBoss-User] Duplicate bean results in findByXX execution
problem.


I missed it, are you using 2.0 or 2.1? I'm pretty sure that 2.1 works,
since our app. is working.

"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]

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


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


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

Reply via email to