This is the default query language. Any query defined in JDOQL can be created without specifying the language explicitly. All newQuery() methods, that do not take the language as a parameter, treat the query as JDOQL.
The following example shows how to define a new JDOQLQuery explicitly:
JDOQLQuery jdoqlQuery = QueryFactory.newJDOQLQuery(null);
jdoqlQuery.setClass(Person.class);
jdoqlQuery.setFilter("id > 1");
Query q = pm.newQuery(QueryLanguage.JDOQL, jdoqlQuery);
Collection col = (Collection)q.execute();
The following source code does exactly the same:
Query query = pm.newQuery(Person.class, "id > 1");