code: @Override
      public <T> T find(Class<T> entityClass, Object primaryKey)
      {
          try
          {
              return ivEm.find(entityClass, primaryKey);
          } finally
          {
              if (!inJTATransaction())
              {
                  ivEm.clear();
              }
          }
      }
docs: /*
  (non-Javadoc)
  
  @see javax.persistence.EntityManager#find(java.lang.Class, java.lang.Object)