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

Thomas Mueller resolved JCR-2996.
---------------------------------

    Resolution: Fixed

> 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

        

Reply via email to