com.xpn.xwiki.store.hibernate.query
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: 3e4985455dbabe038fa15cd331db002606d5047f $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQueryExecutor
public DefaultQueryExecutor()
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.