hanidraidi Posted May 6, 2018 Share Posted May 6, 2018 I can add a query to my report with iReport, and at the preview tab the query runs fine, and everything goes well. When exploring th XML code in XML tab, I can find the query. However, I am not able to locate where the database connection properties. Is there any idea about how I can embed the data connection properties into the JRXML?Any help is appreciated,Hani Link to comment Share on other sites More sharing options...
hozawa Posted May 7, 2018 Share Posted May 7, 2018 Data connection is not included in the jrxml. This is a feature that enables JasperReports jrxml to be portable to different environment.For example, when the jrxml created on Jaspersoft Studio is saved to JasperReports Server, it may be using a different data connection but the jrxml still is OK. Link to comment Share on other sites More sharing options...
riodavid Posted May 11, 2018 Share Posted May 11, 2018 If you publish your report to the server, and export the report file, you will get a zip file. In this zip file you can find a separate xml file defining the data source.Data source won't be stored in the main.jrxml file. 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