Use a named query declared in the mapping file instead of a jpa query in the java code