jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2564) SQL2 query: QOMFormatter create incorrect NOT conditions
Date Thu, 11 Mar 2010 14:55:27 GMT
SQL2 query: QOMFormatter create incorrect NOT conditions
--------------------------------------------------------

                 Key: JCR-2564
                 URL: https://issues.apache.org/jira/browse/JCR-2564
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-commons
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


Then the following query is parsed:
SELECT test.* FROM test WHERE (NOT test.name = 'Hello') AND test.id = 3
then the SQL statement generated, it becomes:
SELECT test.* FROM test WHERE NOT test.name = 'Hello' AND test.id = 3
which is parsed differently and becomes:
SELECT test.* FROM test WHERE NOT (test.name = 'Hello' AND test.id = 3)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message