Hi, thanks. That is exactly what i need.
On 10/30/07, Thomas Mortagne <[EMAIL PROTECTED]> wrote: > > Hi, > > If you speak about Velocity $xwiki.searchDocument you can use > searchDocuments(String parametrizedSqlClause, int nb, int start, List > parameterValues) that takes hibernate named query as > "parametrizedSqlClause" and list of values as "parameterValues". > > If you are on java (plugin, core) side you can access > XWikiStoreInterface.searchDocumentNames (since XWiki 1.1.1/1.2M1), > XWikiStoreInterface.searchDocument (since XWiki 1.1.2/1.2M2) and > XWikiStoreInterface.search (since XWiki 1.1.2/1.2M2) that support > named queries with additional List parameter. > > XWiki 1.1.2/1.2M2 is planned to be released this week. > > 2007/10/30, Jan Kodera <[EMAIL PROTECTED]>: > > Hi, > > is possible in xwiki to use hibernate named queries? If so, how? > > Can I call the method searchDocuments and query name pass as parameter? > > > > Thanks. > > > > Honza > > > > _______________________________________________ > > 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 >
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

