Jump to content
We've recently updated our Privacy Statement, available here ×

Storing query and database connection in JRXML using iReport


hanidraidi

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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