ObjectDB ObjectDB

Query.SQL - JDO static field

Static Field
javax.jdo.Query
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.

Since:
JDO 2.0