You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jörg von Frantzius (JIRA)" <ji...@apache.org> on 2013/02/15 11:29:14 UTC
[jira] [Created] (JCR-3522) Normalize function for String order
criteria in SQL2 as well
Jörg von Frantzius created JCR-3522:
---------------------------------------
Summary: Normalize function for String order criteria in SQL2 as well
Key: JCR-3522
URL: https://issues.apache.org/jira/browse/JCR-3522
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-core, query
Reporter: Jörg von Frantzius
In [JCR-3443], a normalize function was provided for String order criteria of XPath queries.
Doing the same for SQL2 requires extension of the Query Object Model, as described in [https://issues.apache.org/jira/browse/JCR-3443?focusedCommentId=13579073&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13579073]:
{quote}
The problem is that Xpath and SQL1 is based on an extensible grammar : is was quite easy to extend it to add a new function.
SQL2 is technically based on the QueryObjectModelFactory, which offer one method per function. We then have to extend the Java API to add a new function.
We may add a JackrabbitQueryObjectModelFactory extending the JCR one with new methods...
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira