Use HQL "delete" statement with $xwiki.search() ?
Is it possible to use an HQL "delete" statement through $xwiki.search() velocity method? I have looked at the following page HYPERLINK "http://www.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples"http://www .xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples but couldn't find the answer. Thanks, jld. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.2/422 - Release Date: 17/08/2006
On 8/19/06, Jean-Lou Dupont <[email protected]> wrote:
Is it possible to use an HQL "delete" statement through $xwiki.search() velocity method?
No, it's not because we are using the function createQuery of hibernate. Also, you need to have programming right to be able to use this function. Jeremi
participants (2)
-
Jean-Lou Dupont -
jeremi joslin