Outils pour utilisateurs

Outils du site


jasper

Jasper

Mettre le rapport en plein ecran

<property name="net.sf.jasperreports.viewer.zoom" value="FitWidth"/>

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:

<property name="defaultAutoCommit" value="true"/> 
<property name="defaultReadOnly" value="false"/>

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