Jump to content

Simple way support customized query language


2006 IR Open Discussion

Recommended Posts

By: Welkin Hu - welkinhu

Simple way support customized query language

2006-03-05 23:16

I 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:40

I'll support this in the next ireport version

 

Giulio

 

 

By: Welkin Hu - welkinhu

RE: Simple way support customized query language

2006-03-23 23:08

Send JasperReport in getFields is not always available.

The better choise is sent JasperDesigner object.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...