[jira] Updated: (JDO-165) Implement new JDO 2 query tests cases concerning SQL queries
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Updated: (JDO-165) Implement new JDO 2 query tests cases concerning SQL queries




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (JDO-165) Implement new JDO 2 query tests cases concerning SQL queries  
Michael Watzek (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-21-05 12:45 PM

[ http://issues.apache.org/jira/browse/JDO-165?page=all ]

Michael Watzek updated JDO-165:
-------------------------------

Attachment: JDO-165.patch

The attached patch implements the assertions above.


> Implement new JDO 2 query tests cases concerning SQL queries.
> -------------------------------------------------------------
>
>          Key: JDO-165
>          URL: http://issues.apache.org/jira/browse/JDO-165
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-165.patch
>
> We need 4 new test classes, one for each of the following assertions:
> - A14.7-1: In this case, the factory method that takes the language string
 and Object is used: newQuery (String language, Object query). The language 
parameter is javax.jdo.query.SQL and the query parameter is the SQL query st
ring.
> - A14.7-2: The only methods that can be used are setClass to establish the
 candidate class, setUnique to declare that there is only one result row, an
d setResultClass to establish the result class.
> - A14.7-3: SQL queries can be defined without a candidate class. These que
ries can be found by name using the factory method newNamedQuery, specifying
 the class as null, or can be constructed without a candidate class.
> - A14.7-4: Table 7: Shape of Result of SQL Query.
> Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTes...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register