How to set Datasource or Database Connection in PHP Client

0

Hi, I need help. I am using PHP Client to generate reports for my web application to Jasper Server. My application is Multi-Tenant, so the databases are randomly generated. I need to pass the database connection at the time of generating the report, that is, I need to set the database access settings, in runtime. Using PHP client, does anyone know how to do this?

Ps .: Using the ReportUnit class of the PHP client, it seems that it is possible to set a local datasource. But in the documentation, it does not give a clear example.

wilson_5's picture
Joined: Sep 25 2018 - 1:05pm
Last seen: 11 months 3 weeks ago

0 Answers:

No answers yet
Feedback
randomness