docs: public Object getRealKey()
      {
          if(keyRealSubject != null)
          {
              return keyRealSubject;
          }
          else
          {
              TransactionExt tx = getTransaction();
  
              if((tx != null) && tx.isOpen())
              {
                  prepareKeyRealSubject(tx.getBroker());
              }
              else
              {
                  if(getPBKey() != null)
                  {
                      PBCapsule capsule = new PBCapsule(getPBKey(), null);
  
                      try
                      {
                          prepareKeyRealSubject(capsule.getBroker());
                      }
                      finally
                      {
                          capsule.destroy();
                      }
                  }
                  else
                  {
                      getLog().warn("No tx, no PBKey - can't materialise key with Identity " + getKeyOid());
                  }
              }
          }
          return keyRealSubject;
      }