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