JPA Method
in javax.persistence.EntityManager

Query createQuery(
  String qlString
)


Create an instance of Query for executing a Java Persistence query language statement.
Parameters:
qlString - a Java Persistence query string
Return:
the new query instance
Throws:
IllegalArgumentException - if the query string is found to be invalid
Since:
JPA 1.0