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-2996) QOM to SQL2 doesn't cast numeric literals
Date Mon, 20 Jun 2011 09:24:47 GMT
QOM to SQL2 doesn't cast numeric literals
-----------------------------------------

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


SQL2 statements generated by the QueryObjectModel.getStatement() don't contain CAST(... AS
...) for numeric literals of types DECIMAL, DOUBLE, and LONG. The type information is lost,
which can result in incorrect query results (depending on the query engine) if the generated
SQL2 statement is executed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message