[ https://issues.apache.org/jira/browse/JCR-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-2996: ------------------------------- Fix Version/s: (was: 2.3.0) > 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 > > > 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