What i wanted to know is if i return a junk value in my ejb create what is the consequence?
Hope i am clear
I am not that clear with your question. What you mean by you returning a junk value in the ejbCreate method ?!?!
Anyways, if you pass a junk PrimaryKey to the findByPrimaryKey method it will throw a sub-class of FinderException called "ObjectNotFoundException".