Jump to content
JasperReports Library 7.0 is now available ×

Generate Jasper reports seamlessly with Jaspersoft Studio and jasperreports engine


Go to solution Solved by YoannEnovea,

Recommended Posts

Hi everyone, 
Currently we have working Jasper reports created with Jaspersoft Studio with data adapters and we're trying to generate them dynamically using jasperreports engine in kotlin.
The problem that arises is that data adapters are annoying to work with if we have several environments (staging, production, ...) and we'd like to use environment variables that we'd pass to a JRDataSource or similar.
Is it possible to have a report that work with both ways ? or to have the report generated by Jaspersoft Studio use the same datasource ? and if yes, how ?

Thank you 

Edited by YoannEnovea
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Hi back, so we just foundout that, if we give the same name to the connection than the one in the Data Adapter, it already works seamlessly.
So i'm gonna close this topic, but i think it's good to know if anyone else has the same issue.

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