* Saroj Kumar
> It seems that you are getting duplicate data in collection.
> 
> Try using java.util.Set for Collection. 

I'll try, but I cannot see why this should be the case.  I made the
following change in my Bean code:

    /**
     * @ejb:interface-method
     */
    public  String egetForetaksnr() {
        String fnr = getForetaksnr();
        cat.debug("ID: " + getId() + ", Foretaksnr = " + fnr);
        return fnr;
    }
    

This code result in the same bug.  I.e. the following is written out:

 ID: 1, Foretaksnr = 999999999
 ID: 2, Foretaksnr = 999999999

When correct data is:

 ID: 1, Foretaksnr = 937885911
 ID: 2, Foretaksnr = 938335605

Maybe the error is in the Oracle driver?  But how do you test such
things?

-- 
  Jon Haugsand, <[EMAIL PROTECTED]>
  Norges Bank, <http://www.norges-bank.no>





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to