0 Replies Latest reply on Aug 30, 2002 9:32 PM by David Li

    findByPrimaryKey exception

    David Li Newbie

      Hi all,

      I got an error after I started JBoss server and try to access to a entity bean. Following is the first line on the stacktrace.

      javax.ejb.ObjectNotFoundException: Object with primary userKey@4df1cf5b not found in storage

      Info: I am running JBoss 3.0.1
      Note: I am using my own key class and my mapping in ejb-jar.xml are like

      ..
      <prim-key-class>userKey</prim-key-class>
      ..

      and the regular mapping in jbosscmp-jdbc.xml.

      Thx in advance for any help or hint.

      David Li

      Thx for any help in advance.

      David Li