[jira] Created: (JDO-383) JPOX: issues with the default Unique
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] Created: (JDO-383) JPOX: issues with the default Unique




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

    [jira] Created: (JDO-383) JPOX: issues with the default Unique  
Michael Bouschen (JIRA)


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


 
05-31-06 06:11 PM

JPOX: issues with the default Unique setting for aggregate queries
--------------------------------------------------------------------

Key: JDO-383
URL: http://issues.apache.org/jira/browse/JDO-383
Project: JDO
Type: Bug

Components: tck20
Versions: JDO 2 final
Reporter: Michael Bouschen
Assigned to: Erik Bengtson
Priority: Minor
Fix For: JDO 2 maintenance release 1


The JDOQL query Unique flag defaults to true for a query with a single resul
t expression and the result expression is an aggregate (COUNT, MIN, MAX, AVG
, SUM).  JPOX calculates the correct default value for Unique if the result 
expression is specified w/o
any whitespaces between the aggreagte keyword and the expression in parenthe
sis: setResult("MIN(budget)"). However, JPOX defaults the Unqiue flag to fal
se, if there is a blank after the aggregate keyword: setResult("MIN (budget)
").

With the fix of JDO-381 the TCK test class DefaultUnique in package org.apac
he.jdo.tck.query.result fails, because I added some test queries having a bl
ank after the aggregate keyword. They now return a list with the aggregate v
alue instead of the value i
tself.


--
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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:30 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