Apache JDO Project - [jira] Commented: (JDO-160) Implement new JDO 2 query tests cases concerning parameter

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2005 > [jira] Commented: (JDO-160) Implement new JDO 2 query tests cases concerning parameter





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-160) Implement new JDO 2 query tests cases concerning parameter
Michael Bouschen (JIRA)

2005-10-23, 5:46 pm

[ http://issues.apache.org/jira/brows...action_12332464 ]

Michael Bouschen commented on JDO-160:
--------------------------------------

Two comments:
- Class OrderOfParameters defines queries using explicilty declared parameters . I propose to change this to implicit parameters, because the assertion only covers implicit parameters.
- The grouping query in class ImplicitParameters is not valid, it misses a result clause. I propose to add the following result clause: "department.name, COUNT(this)" and change the grouping clause to "department.name HAVING COUNT(this) >= :min".



> Implement new JDO 2 query tests cases concerning parameters.
> ------------------------------------------------------------
>
> Key: JDO-160
> URL: http://issues.apache.org/jira/browse/JDO-160
> Project: JDO
> Type: New Feature
> Components: tck20
> Reporter: Michael Watzek
> Assignee: Michael Watzek
> Attachments: JDO-160.patch, JDO-160.patch2
>
> We need 4 new test classes, one for each of the following assertions:
> - A14.6.3-2: Parameters must all be declared explicitly via declareParameters or all be declared implicitly in the filter.
> - A14.6.3-3: Parameters implicitly declared (in the result, filter, grouping, ordering, or range) are identified by prepending a ":" to the parameter everywhere it appears. All parameter types can be determined by one of the following techniques.
> - A14.6.13-3: If implicit parameters are used, their order of appearance in the query determines their order for binding to positional parameters for execution.
> Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTests#Parameters


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com