code: @Override
      public <T> TypedQuery<T> createQuery(String paramString, Class<T> paramClass)
      {
          Query q = createQuery(paramString);
          return onTypedQuery(paramClass, q);
      }
docs: /*
  (non-Javadoc)
  
  @see javax.persistence.EntityManager#createQuery(java.lang.String,
  java.lang.Class)