2006 IR Open Discussion Posted September 2, 2006 Share Posted September 2, 2006 By: Welkin Hu - welkinhu Simple way support customized query language 2006-03-05 23:16I want to support customized query language, which need simple iReport enhancement. I developed a general JRDataSourceProvider class for all report. In general class's getFields(JasperReport) method, I parsed the query string and return all fields' definition. But now, iReport can not pass JasperReport in getFields Method. In fact, I use HQL as my query language. iReport 1.2.0 already support it. But it directly use hibernate.cfg.xml. I have some specical data operations in my data source provider. So what I want is call my general data souce provider. How about pass JasperReport in getFields() if I complied the report in iReport? By: Giulio Toffoli - gt78 RE: Simple way support customized query langu 2006-03-06 09:40I'll support this in the next ireport version Giulio By: Welkin Hu - welkinhu RE: Simple way support customized query language 2006-03-23 23:08Send JasperReport in getFields is not always available. The better choise is sent JasperDesigner object. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now