[xwiki-devs] [VOTE] Add new XWiki.searchDocuments() API
Thomas Mortagne
thomas.mortagne at xwiki.com
Wed Sep 26 08:46:29 CEST 2007
+1
2007/9/26, Anca Paula Luca <ancapaula.luca at xwiki.com>:
> +1
>
> Vincent Massol wrote:
> > Hi,
> >
> > In order to properly fix the issues with escaping of single quote
> > characters, I'd like to propose adding the following methods in
> > *.api.XWiki:
> >
> > public List searchDocuments(String wheresql, List whereParams)
> > throws XWikiException
> > public List searchDocuments(String wheresql, int nb, int start,
> > List whereParams) throws XWikiException
> >
> > The idea is to allow parametrized HQL queries in XWiki documents
> > hence removing the issues with SQL escaping (For example this will
> > allow solving http://jira.xwiki.org/jira/browse/XWIKI-1768).
> >
> > Here's my +1
> >
> > Thanks
> > -Vincent
> >
> >
> > _______________________________________________
> > devs mailing list
> > devs at xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Thomas Mortagne
More information about the devs
mailing list