You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Tore Halset (JIRA)" <ca...@incubator.apache.org> on 2006/11/05 13:29:04 UTC

[JIRA] Created: (CAY-700) where in () with empty collection

where in () with empty collection
---------------------------------

         Key: CAY-700
         URL: http://issues.apache.org/cayenne/browse/CAY-700
     Project: Cayenne
        Type: Improvement

  Components: Cayenne Core Library  
    Reporter: Tore Halset
 Assigned to: Tore Halset 
    Priority: Minor
     Fix For: 3.0


It would be nice if ExpressionFactory.inExp (with friends) would work with empty collections.

A simple way to do this is to just return ASTFalse from ExpressionFactory.inExp if the collection are empty, but it would be even better if this could work for other ways to create expressions as well - like Expression.fromString


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