In HFEJB p.560, a scenario is that A session bean calls getPrimaryKey() on its context and the bean gets an
IllegalStateException.
The context version of getPrimaryKey() is exposed only to entity beans but not to session beans. If you put sessionContext.getPrimaryKey() in source code, it will get compilor error.
So how could we get IllegalStateException???
Please let me know if I am wrong.
Thanks.
Steve Taiwan<br />SCJP 1.2, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, OCP 8i DBA, SCEA