docs: public Object getPrimaryKey() throws javax.ejb.EJBException
      {
          HomeInternal hi = beanId.getHome();
  
          if (hi.isStatelessSessionHome() || hi.isStatefulSessionHome()) {
              throw new IllegalSessionMethodLocalException();
          }
  
          //PK26539: copy the primary key (see WASInternal_copyPrimaryKey for explanation)
          return ((EJSHome) hi).WASInternal_copyPrimaryKey(beanId.getPrimaryKey());
      }