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 Thu, 22 Sep 2005 15:30:07 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

------------------------------------------------------------------------------
  || '''`valid, result class is TCK class` `having public fields and set methods:`'''[[BR]]`SELECT
stringNull AS s INTO ...FieldsAndSetMethods` `FROM mylib.PrimitiveTypes`||
  || '''`valid, result class is TCK class` `having public fields and a put method:`'''[[BR]]`SELECT
stringNull AS s INTO ...FieldsAndPutMethod` `FROM mylib.PrimitiveTypes`||
  || '''`valid, result class is TCK class` `having put method:`'''[[BR]]`SELECT stringNull
AS s INTO ...PutMethod` `FROM mylib.PrimitiveTypes`||
- || '''A14.6.12-2:''' Table 6: Shape of Result (C is the candidate class) || `...` || `result.`[[BR]]`ShapeOfResult`
|| Positive test. ||
+ ||<|16> '''A14.6.12-2:''' Table 6: Shape of Result (C is the candidate class) || '''`valid:`'''[[BR]]`SELECT
FROM company.Person` ||<|16> `result.`[[BR]]`ShapeOfResult` ||<|16> Positive test.
||
+ || '''`valid, this as C:`'''[[BR]]`SELECT this AS Person` `FROM company.Person` ||
+ || '''`valid, unique:`'''[[BR]]`SELECT UNIQUE FROM company.Person` `WHERE firstname == 'emp1First'`
||
+ || '''`valid, unique, this as C:`'''[[BR]]`SELECT UNIQUE this AS Person` `FROM company.Person`
`WHERE firstname == 'emp1First'` ||
+ || '''`valid, firstname:`'''[[BR]]`SELECT firstname` `FROM company.Person` ||
+ || '''`valid, unique, firstname:`'''[[BR]]`SELECT UNIQUE firstname` `FROM company.Person`
`WHERE firstname == 'emp1First'` ||
+ || '''`valid, firstname, lastname:`'''[[BR]]`SELECT firstname, lastname` `FROM company.Person`
||
+ || '''`valid, unique, firstname, lastname:`'''[[BR]]`SELECT UNIQUE firstname, lastname`
`FROM company.Person` `WHERE firstname == 'emp1First'` ||
+ || '''`valid, JDK result class, firstname:`'''[[BR]]`SELECT firstname INTO String` `FROM
company.Person` ||
+ || '''`valid, unique, JDK result class, firstname:`'''[[BR]]`SELECT UNIQUE firstname INTO
String` `FROM company.Person` `WHERE firstname == 'emp1First'` ||
+ || '''`valid, TCK result class:`'''[[BR]]`SELECT INTO ...PersonResult` `FROM company.Person`
||
+ || '''`valid, unique, TCK result class:`'''[[BR]]`SELECT UNIQUE INTO ...PersonResult` `FROM
company.Person` `WHERE firstname == 'emp1First'` ||
+ || '''`valid, TCK result class, firstname:`'''[[BR]]`SELECT firstname INTO ...FullName`
`FROM company.Person` ||
+ || '''`valid, unique, TCK result class, firstname:`'''[[BR]]`SELECT UNIQUE firstname INTO
...FullName` `FROM company.Person` `WHERE firstname == 'emp1First'` ||
+ || '''`valid, TCK result class,` `firstname, lastname:`'''[[BR]]`SELECT firstname, lastname
INTO ...FullName` `FROM company.Person` ||
+ || '''`valid, unique, TCK result class,` `firstname, lastname:`'''[[BR]]`SELECT UNIQUE firstname,
lastname INTO ...FullName` `FROM company.Person` `WHERE firstname == 'emp1First'` ||
  
  [[Anchor(SQLQueries)]]
  == SQL Queries ==

Mime
View raw message