0 Replies Latest reply on Feb 19, 2002 6:49 AM by Vincent

    Problems with findByPrimarKey() and mysql

    Vincent Newbie

      Hello all,

      this is probably something quite simple but I can't seem to see it.....I can create entity beans just fine, the problem is when running
      findByPrimarKey(MyKey key), I get a
      javax.ejb.ObjectNotFoundException.

      I've tried changing keys from a String to an Integer, and finally to my own key class, but all to no avail. Can anybody think of something that this might be? I've been tearing my hair out all day trying to fix it.....

      Thanks in advance,

      Vince.