org.apache.openjpa.persistence.jest.help.query.html Maven / Gradle / Ivy
JPQL Query
Specify a JPQL query or name of a pre-defined NamedQuery.
Both queries can accept query bind parameters. The type of the parameters are guessed by JEST
from the string you specify in this web form.
NOTE: If you use special characters such as '%' in the query, use them as binding parameter value.
For example, do not use query as
select m from Movie m where m.title like '%CHINA%'
Instead use
select m from Movie m where m.title like :title
and then set the value of named parameter title to %CHINA%
If using named query, check the Named Query Box.