title: How to register a QueryExecuterFactory in jasper reports in java
body: <p>I implemented JRQueryExecuter and want to use it in a report. Using iReport I managed to register and use the executer.</p>
  
  <p>Now I want to use it in a java application, but I can't find any resources how to register the factory. </p>
  
  <p>I thought it's enough to have the implementation in the classpath, but I get the following exception:</p>
  
  <pre><code>Caused by: net.sf.jasperreports.engine.JRException: No query executer factory class registered for tmql queries.
  at net.sf.jasperreports.engine.query.DefaultQueryExecuterFactoryBundle.getQueryExecuterFactory(DefaultQueryExecuterFactoryBundle.java:80)
  at net.sf.jasperreports.engine.util.JRQueryExecuterUtils.getQueryExecuterFactory(JRQueryExecuterUtils.java:57)
  at net.sf.jasperreports.engine.design.JRDesignDataset.queryLanguageChanged(JRDesignDataset.java:1006)
  </code></pre>
  
  <p>Can anybody give me a hint?</p>
  
  <p>regards
  Hannes</p>