0 Replies Latest reply on Oct 23, 2003 5:08 AM by Lars Hagrot

    findAll returns same object twice

    Lars Hagrot Newbie

      I declared a findAll method for my entity bean.
      (SELECT OBJECT(o) FROM PrenumerationEntity o )

      1 I Create a couple of entities
      2 When I query with my findAll I get correct number of objects but they are all the same (same properties and same primary key).

      3 I can look in the database and find correct number of rows with different keys and data.

      I hope that somebody can tell what I am doing wrong here..