code: public final <T> T loadObject(final Class<T> clazz, final Object id) throws Exception {
          return executeInTransaction(new Runnable<T>() {
              @Override
              public T run(final EntityManager entityManager) {
                  return loadObject(entityManager, clazz, id);
              }
          });
      }
docs: Finds and returns the object of the given id in the persistence context.
  
  @param <T>
  type of searched object
  @param clazz
  type of searched object
  @param id
  technical id of searched object
  @return found object
  @throws Exception
  finding object failed