4 Replies Latest reply on Jun 5, 2004 4:12 AM by Holger Baxmann

    Cannot invoke get and set method after findAll()

    jonny Newbie

      I have a session bean which invoke a findAll() method from an entity bean. When i iterate the collection, only the getPrimaryKey() method return the correct primary key. All the other getXXX and setXXX methods throw exception when they are invoked. However, when I do nothing about the collection and return it to the servlet, there is no exception and works fine. Any suggestion?