How to register a QueryExecuterFactory in jasper reports in java
- by Bosso
Hi,
I implemented JRQueryExecuter and want to use it in a report. Using iReport I managed to register and use the executer.
Now I want to use it in a java application, but I can't find any resources how to register the factory.
I thought it's enough to have the implementation in the classpath, but I get the following exception:
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)
Can anybody give me a hint?
regards
Hannes