You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2009/10/15 22:23:31 UTC

[jira] Resolved: (JCR-2343) Utility class to tranform JCR-SQL2 to/from JCR-JQOM

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

Marcel Reutegger resolved JCR-2343.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Moved classes JoinType, Operator and Order in package qom (spi-commons) to jcr-commons. Same for QueryObjectModelBuilder and QueryObjectModelBuilderFactory.

Parser (sql2) in spi-commons is now deprecated and extends from the class with the same name in jcr-commons that should now be used.

I had to leave the test cases for the SQL2 parser in spi-commons because of the dependencies it has.

svn revision: 825633

> Utility class to tranform JCR-SQL2 to/from JCR-JQOM
> ---------------------------------------------------
>
>                 Key: JCR-2343
>                 URL: https://issues.apache.org/jira/browse/JCR-2343
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.0-alpha12
>            Reporter: johann sorel
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The JCR2 doc specify that both contain the same thing and can be translated from one to another
> in a straightforward manner. The jackrabbit-jcr-commons module should offer a utility class to transform
> from one language to another in a generic way, 
> for exemple :
> - String toSQL2(QueryObjectModel qom)
> - QueryObjectModel toJQOM(QueryObjectModelFactory factory, String query)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.