docs: private EJSWrapperCommon postCreateCommon(BeanO beanO,
                                                Object primaryKey,
                                                boolean supportEJBPostCreateChanges)
                      throws CreateException,
                      RemoteException
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "postCreate", primaryKey);
  
          ContainerTx currentTx = null;
  
          homeEnabled();
  
          if (!statefulSessionHome) {
              beanO.setId(new BeanId(this, (Serializable) primaryKey, false));
          }
  
          currentTx = container.getCurrentContainerTx(); //d149448.1//d171654
  
          //----------------------------------------------------------------
          // For the option A case specifically, grab an instance lock on
          // the bean before proceeding. For other activation strategies this
          // is a no-op.  This must be done prior to calling postCreate
          // which will access the database, otherwise a deadlock may occur.
          //-----------------------------------------------------------------
          container.lockBean(beanO, currentTx); //142250.2
  
          beanO.postCreate(supportEJBPostCreateChanges); // d142250
  
          //-------------------------------------------------------------
          // Add the bean to the activator
          //
          // For now assume that there is always at most a single
          // thread executing on behalf of a given transaction. This
          // means that if the container thinks this bean already exists
          // in the context of this transaction that we must fail the
          // create with a DuplicateKeyException. Otherwise, this is the
          // first successful create of a bean with the given identity
          // in the context of this transaction.
          //-------------------------------------------------------------
  
          BeanO existingBeanO = container.addBean(beanO, currentTx); // d149448.1
          if (existingBeanO != null) {
              throw new DuplicateKeyException(primaryKey.toString());
          }
  
          // If the EJB was deployed prior to WebSphere Version 5.0, then
          // changes to EJB db field swhich are made within EJBPostCreate()
          // will be ignored.  To fix this problem the actual creation of the
          // EJB in the database is delayed until after the completion of
          // EJBPostCreate().  However we must still support EJBs which were
          // deployed in previous WebSphere versions so this code remains,
          // gated by the supportEJBPostCreateChanges flag.                  d142250
          if (!supportEJBPostCreateChanges)
          {
              // At this point, the deployed home has successfully created teh EB
              // so, we call the perfdata hooks for create
              if (pmiBean != null) {
                  pmiBean.beanCreated();
              }
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "postCreate", beanO);
  
          return wrapperManager.getWrapperForCreate(beanO); // f111627 d156807.1 F61004.6 d729903
      }