Outils pour utilisateurs

Outils du site


jasper

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

jasper [2021/08/26 14:25] – créée tomampliusjasper [2024/03/27 16:00] (Version actuelle) – [Mettre le rapport en plein ecran] tomamplius
Ligne 5: Ligne 5:
 <property name="net.sf.jasperreports.viewer.zoom" value="FitWidth"/> <property name="net.sf.jasperreports.viewer.zoom" value="FitWidth"/>
 </code> </code>
 +
 +Allow to insert data in jasper
 +
 +JDBC data sources in JasperReports Server are created by default with autoCommit=false and readOnly=true. 
 +
 +You can change the default flags to see if that would result in the the stored procedure working properly. To do that, they would need to add the following properties to the **jdbcDataSourceServiceFactory** bean in **WEB-INF/applicationContext.xml**:
 +<code>
 +<property name="defaultAutoCommit" value="true"/> 
 +<property name="defaultReadOnly" value="false"/>
 +</code>
 +For JNDI, you will have to do this on the application server level. For example, in Tomcat, you will have to add "defaultReadOnly=false" and "defaultAutoCommit=true" to the resource entry located here: conf/Catalina/<host>/jasperserver-pro.xml
 +
 +The server needs to be restarted for the changes to apply.
jasper.txt · Dernière modification : 2024/03/27 16:00 de tomamplius

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki