I am building an complex report with jasperreports and have to build a very complex SQL query with several joins and subselections.
Is there a simple method in jasperreports to set the value of a parameter with the result of a SQL query?
I know you can set an user input selection with a query in jasperserver, but in this report I want initial set a parameter with the result of a query (without user input) and use the parameter values in the main query of an table.