Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in retrieivng Primary Key

tan kian
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all, i got this exception when i deployed and ran my war:
javax.ejb.ObjectNotFoundException: JDO74011: Bean 'SemEJB' method findByPrimaryKey: cannot find bean with key SemPK: semid="s001", pid="p0001", cid="c111"
the error occured at this line:
SemPK is a class i created to store multiple(3) keys as 1 primary key, and is used by the entity Sem. PointBase is been used, and i am hard coding all information into the servlet. can anyone tell me what i am doing wrong? thanks.
[ October 12, 2005: Message edited by: tan kian ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic