Jump to content

Bug in JRDataSourceProviders ?


daniel.breitner32

Recommended Posts

Hi everyone, I have implemented the JRDataSourceProvider Interface to deliver JRFields to my report. I am using this method:

 

public JRField[] getFields(JasperReport arg0)
[/code]
I want to create a dynamic JRDataSourceProvider and therefore I need the query language, that I can set in the "Dataset and Query ..." dialog.

 

Unfortunately I almost always get old data when I use

 

String language = arg0.getQuery().getLanguage();[/code]
 

to get the query language. It needs several refreshes and Project-> clean calls for me to get the correct query language.

Did I do something wrong ? Is there any other way to get the correct query language ?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...