/** findByPrimaryKey */
 public com.ardais.bigr.iltds.beans.Projectsample findByPrimaryKey(
     com.ardais.bigr.iltds.beans.ProjectsampleKey key)
     throws java.rmi.RemoteException, javax.ejb.FinderException {
   EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
   Object[] _jacc_parms = null;
   com.ardais.bigr.iltds.beans.Projectsample _EJS_result = null;
   try {
     if (container.doesJaccNeedsEJBArguments(this)) {
       _jacc_parms = new Object[1];
       _jacc_parms[0] = key;
     }
     com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2 beanRef =
         (com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2)
             container.preInvoke(this, 1, _EJS_s, _jacc_parms);
     _EJS_result = beanRef.findByPrimaryKey(key);
   } catch (java.rmi.RemoteException ex) {
     _EJS_s.setUncheckedException(ex);
   } catch (javax.ejb.FinderException ex) {
     _EJS_s.setCheckedException(ex);
     throw ex;
   } catch (Throwable ex) {
     _EJS_s.setUncheckedException(ex);
     throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
   } finally {
     try {
       container.postInvoke(this, 1, _EJS_s);
     } finally {
       container.putEJSDeployedSupport(_EJS_s);
     }
   }
   return _EJS_result;
 }