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]
[jBoss-User] Duplicate bean results in findByXX execution problem.
Hardy, Patrick, DDI - Garden City Thu, 08 Mar 2001 07:46:34 -0800
- Re: [jBoss-User] Duplicate bean results ... Hardy, Patrick, DDI - Garden City
