Query.SQL - JDO static field

Static Field
String SQL

The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should use SQL semantics. This is only meaningful for relational JDO implementations.

If this is used, the Object argument to the PersistenceManager.newQuery(String,Object) method should be a String containing a SQL SELECT statement.

JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.