daust / JasperReportsIntegration

JasperReportsIntegration provides an interface to use the JasperReports reporting engine in an Oracle database application, specifically with Oracle Application Express (Oracle APEX).
BSD 3-Clause "New" or "Revised" License
55 stars 25 forks source link

Store defaults for url and wallet in configuration table #44

Closed daust closed 4 years ago

daust commented 4 years ago

Previously, you needed to set the following parameters manually before calling xlib_jasperreports.show_report or xlib_jasperreports.get_report:

This is now done for you using the defaults in the table XLIB_JASPERREPORTS_CONF.

Setting those parameters explicitly will still work, they are only set when those values HAVE NOT BEEN SET. Unfortunately, this is not the case for utl_http.set_wallet because we cannot determine the current wallet path. Thus, when the report url is using https, set_wallet will be called automatically based on the values in XLIB_JASPERREPORTS_CONF regardless of previous calls to utl_http.set_wallet ... thus overwriting it.