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] [Updated] (JCR-2996) QOM to SQL2 doesn't cast numeric literals
Date Mon, 20 Jun 2011 14:07:47 GMT

     [ https://issues.apache.org/jira/browse/JCR-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Mueller updated JCR-2996:
--------------------------------

      Component/s: jackrabbit-jcr-commons
    Fix Version/s: 2.3.0
                   2.2.8

Should be fixed in the 2.2 branch as well.

> 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
>          Components: jackrabbit-jcr-commons
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 2.2.8, 2.3.0
>
>
> 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