On Fri, Jun 11, 2010 at 09:03, Vincent Massol <[email protected]> wrote: > Hi devs, > > I'm wondering why we haven't moved to using XQL instead of HQL. > > Any reason? > > If not, I'd like to suggest we start using it everywhere we currently use HQL > since XWQL since is much nicer. Also since we don't use it our users don't > use it. > > Additionally I'd like to propose that we move to a ScriptService to access > the query manager. > > From Velocity you'd write the following to get a Query: > $services.query.xwql("....") > > Note that the ScriptService implementation would replace the > SecureQueryManager implementation. > > We would also deprecate XWiki.getQueryManager. > > WDYT?
I think the major issue is that nobody knows it very well and without Artem to push on it and help we just forgot about it. Also I think Artem was waiting JCR2 that was not release when he started working on it to finish XQL implementation that was too limited by JCR1. But yes we should really use XQL if possible. > > Thanks > -Vincent > > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

