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

From: Tore Halset (JIRA) ("Tore)
Date: Sun Nov 05 2006 - 07:29:04 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-701) "property" package refactoring"

    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
    



    This archive was generated by hypermail 2.0.0 : Sun Nov 05 2006 - 07:29:29 EST