daniel.breitner32 Posted April 14, 2016 Share Posted April 14, 2016 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 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