You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Watzek (JIRA)" <ji...@apache.org> on 2005/11/24 12:18:56 UTC

[jira] Created: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().

SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
----------------------------------------------------------------------------------------------------------------------------------------------------

         Key: JDO-223
         URL: http://issues.apache.org/jira/browse/JDO-223
     Project: JDO
        Type: Bug
  Components: tck20  
    Reporter: Michael Watzek
 Assigned to: Michael Watzek 


SupportedMapMethods must be extended by queries calling isEmpty() and size():

- SELECT FROM Person WHERE phoneNumbers.isEmpty()
- SELECT FROM Person WHERE phoneNumbers.size() == 2

SupportedCollectionMethods must be extended by queries calling contains() and size():

- SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
- SELECT FROM Department WHERE employees.size() == 3


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


[jira] Updated: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-223?page=all ]

Michael Watzek updated JDO-223:
-------------------------------

    Attachment: JDO-223.patch

The attached patch fixes this issue.

Additionally, the classes have been adapted to the new result handling implemented as part of JDO-216.


> SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: JDO-223
>          URL: http://issues.apache.org/jira/browse/JDO-223
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-223.patch
>
> SupportedMapMethods must be extended by queries calling isEmpty() and size():
> - SELECT FROM Person WHERE phoneNumbers.isEmpty()
> - SELECT FROM Person WHERE phoneNumbers.size() == 2
> SupportedCollectionMethods must be extended by queries calling contains() and size():
> - SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
> - SELECT FROM Department WHERE employees.size() == 3

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


[jira] Resolved: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-223?page=all ]
     
Michael Watzek resolved JDO-223:
--------------------------------

    Resolution: Fixed

The patch has been checked in (Revision 349701).


> SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: JDO-223
>          URL: http://issues.apache.org/jira/browse/JDO-223
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-223.patch
>
> SupportedMapMethods must be extended by queries calling isEmpty() and size():
> - SELECT FROM Person WHERE phoneNumbers.isEmpty()
> - SELECT FROM Person WHERE phoneNumbers.size() == 2
> SupportedCollectionMethods must be extended by queries calling contains() and size():
> - SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
> - SELECT FROM Department WHERE employees.size() == 3

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


[jira] Commented: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-223?page=comments#action_12358620 ] 

Michael Bouschen commented on JDO-223:
--------------------------------------

Looks good!

> SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: JDO-223
>          URL: http://issues.apache.org/jira/browse/JDO-223
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-223.patch
>
> SupportedMapMethods must be extended by queries calling isEmpty() and size():
> - SELECT FROM Person WHERE phoneNumbers.isEmpty()
> - SELECT FROM Person WHERE phoneNumbers.size() == 2
> SupportedCollectionMethods must be extended by queries calling contains() and size():
> - SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
> - SELECT FROM Department WHERE employees.size() == 3

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