createNamedQuery(name) - JPA EntityManager's method
Queryfor executing a named query (in the Java Persistence query language or in native SQL).
name- the name of a query defined in metadata
- the new query instance
IllegalArgumentException- if a query has not been defined with the given name or if the query string is found to be invalid
- JPA 1.0