com.xpn.xwiki.store.hibernate.query
Class DefaultQueryExecutor

java.lang.Object
  extended by com.xpn.xwiki.store.hibernate.query.DefaultQueryExecutor
All Implemented Interfaces:
QueryExecutor

@Component
@Singleton
public class DefaultQueryExecutor
extends Object
implements QueryExecutor

The default QueryExecutor, this uses The HqlQueryExecutor since XWikiHibernateStore is the default store. Wrapping the HQL executor with this allows the main store hint in xwiki.cfg to be used to select the QueryExecutor.

Since:
3.2M2
Version:
$Id: 3e4985455dbabe038fa15cd331db002606d5047f $

Constructor Summary
DefaultQueryExecutor()
           
 
Method Summary
<T> List<T>
execute(Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultQueryExecutor

public DefaultQueryExecutor()
Method Detail

execute

public <T> List<T> execute(Query query)
                throws QueryException
Specified by:
execute in interface QueryExecutor
Throws:
QueryException


Copyright © 2004-2013 XWiki. All Rights Reserved.