0 Replies Latest reply on Feb 5, 2003 10:01 AM by pverhaeghe pverhaeghe

    bmp entity bean findByXXX returns wrong result

    pverhaeghe pverhaeghe Newbie

      I have a simple bmp entity bean with java.lang.String as primary key class. The implementation of a findByXXX method returns a collection containing two different strings, if those entities are not recently accessed, the ejbActivate and ejbLoad are called for those two entity beans, and the enitiy beans returned to the caller are correct. If those entity beans are accessed recently, then the ejbActivate and ejbLoad are not called, and the caller receives twice the first entity bean.