code: public final void initialize() throws PersistenceException
      {
          if (!initialized)
          {
              if (persistenceDelegator == null)
              {
                  throw new LazyInitializationException("could not initialize proxy " + persistentClass.getName() + "_"
                          + id + " - no EntityManager");
              }
              else if (!persistenceDelegator.isOpen())
              {
                  throw new LazyInitializationException("could not initialize proxy " + persistentClass.getName() + "_"
                          + id + " - the owning Session was closed");
              }
              else
              {
                  if (log.isDebugEnabled())
                      log.debug("Proxy >> Initialization >> " + persistentClass.getName() + "_" + id);
  
                  // TODO: consider not calling em.find from here. Not sure 'why',
                  // but something
                  // doesn't feel right.
                  target = persistenceDelegator.findById(persistentClass, id);
                  initialized = true;
              }
          }
      }
docs: Initialize.
  
  @throws PersistenceException
  the persistence exception {@inheritDoc}