Hi, devs.

Thanks for feedback.

There are important info from JCR v2 [1] unfinished standard (Public
Review. Final release at Sep-2008):
http://wiki.apache.org/jackrabbit/Proposed_JCR_2%2e0_API_Changes
- xpath & jcrsql are deprecated in jcr2, but supported
+ new language JCR-SQL2 which is much extended jcrsql with joins.
+ new Java API for quering called QueryObjectModel (JCR-JQOM) (like
Hibernate Criteria or LINQ)

recent Jackrabbit 1.4 already has this features, but they are not stable
yet.
eXoJCR hasn't this features yet.

Jackrabbit has a parser [2] from JCR-SQL2 to JCR-JQOM, so we can simply
translate some subset of QOM to HQL.


What else parsers / query frameworks can you recommend?
I looked at some jpa, jdo ql implementations but they are not expose
nice Query Model for reuse.

[1] http://www.jcp.org/en/jsr/detail?id=283
[2]
http://jackrabbit.apache.org/api/1.4/org/apache/jackrabbit/core/query/sql2/Parser.html

Artem Melentyev wrote:
> Hi, devs.
> 
> I'm working on JCRStore and QueryPlugin and I want to get some feedback
> about
> http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specification
> 
> 1. Why our QueryPlugin's xpath isn't sufficient? (except it doesn't work
> now and some features are unimplemented :))
> 2. Are we sure to use sql-like query language?
>  I think sql isn't user friendly language.
>  Also many features of sql (such as joins) is impossible for JCR.
> 3. What user query language would you prefer for xwiki?

-- 
  Artem Melentyev
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to