db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jdo Wiki] Update of "QueryTests" by MichaelWatzek
Date Tue, 20 Sep 2005 13:15:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jdo Wiki" for change notification.

The following page has been changed by MichaelWatzek:
http://wiki.apache.org/jdo/QueryTests

------------------------------------------------------------------------------
  ||'''A14.6.13-1:''' The String version of Query represents all query elements using a single
string. The string contains the following structure: || `SELECT firstname INTO ...FullName
AS first,` `lastname INTO FullName AS last` `FROM company.FullTimeEmployee` `WHERE salary
> 1000` `& projects.contains(project)` `& project.budget > limit` `VARIABLES
Project project` `PARAMETERS BigDecimal limit` `ORDER BY salary` `GROUP BY firstname, lastname`
`HAVING lastname.startsWith('R')` `RANGE 1 TO 10` || `jdoql.keywords.`[[BR]]`SingleString`
|| Positive test. ||
  ||<|3> '''A14.6.13-2:''' Keywords, identified above in '''bold''', are either all
upper-case or all lower-case. Keywords cannot be mixed case. || '''`valid:`'''[[BR]] `SELECT
FROM company.Person` ||<|3> `jdoql.keywords.`[[BR]]`UppercaseLowercase` ||<|3>
Positive and negative test. ||
  || '''`valid:`'''[[BR]] `select from company.Person` ||
- || '''`invalid:`'''[[BR]] `SELECT from company.Person` ||
+ || '''`invalid:`'''[[BR]] `SeLeCt FrOm company.Person` ||
  
  [[Anchor(NewOperators)]]
  === New Operators ===

Mime
View raw message