Class DefaultQueryExecutor
- java.lang.Object
-
- 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: bb0a47aa3fd1f8e20fb3c937ecf0efe85ad1ac64 $
-
-
Constructor Summary
Constructors Constructor Description DefaultQueryExecutor()
-
-
-
Method Detail
-
execute
public <T> List<T> execute(Query query) throws QueryException
- Specified by:
execute
in interfaceQueryExecutor
- Throws:
QueryException
-
-