jaspersoft-studio

How do I setup an InterSystems Cache Data Source in Jaspersoft Studio

一个人想着一个人 提交于 2019-12-12 03:29:12
问题 I am trying to set up a new JDBC connection to an Intersystems Cache data source, and I'm struggling to know if it can even be done. Since there was no Intersystems Cache option in the JDBC driver drop down, I added the driver string manually -> com.intersys.jdbc.CacheDriver I then added the URL manually in the following format -> jdbc:Cache://123.123.123.123:12345/namespace I also found the JDBC driver and have added it to the Jar File Path -> cachedb.jar Based on the error message, I am

The master report does not show basic subreport with Java Beans at Jaspersoft Studio

这一生的挚爱 提交于 2019-12-11 06:35:41
问题 I'm having trouble generating a basic report (master/subreport) with JavaBeans in Jaspersoft Studio. I created TestMainReport.jrxml and TestSubreport.jrxml . TestMainReport.jrxml contains two static text fields, labeled "A Title" in the title band and "A Summary" in the summary band. TestSubreport.jrxml contains two static text fields, "Subreport Title" in the title and "Subreport Summary" in the summary band. I've assigned JavaBeans Data Adapters to them, which are not used (although the

Why do I get error (ClassCastException) when trying to retrive bean from my data adapter?

孤者浪人 提交于 2019-12-11 04:53:39
问题 I created a report using JasperSoft Studio. I'm referencing to this helpful post Jaspersoft Studio: How to use Collection of Java Beans in data adapter by Alex K I'd like to retrieve a list of orders. The class Order is defined as in the post: public class Order { private double price; private int quantity; private Product product; // Getters & Setters } The report is generated with success if I'd like to retrieve price or quantity . But, once I retrieve product this is displayed: Details:

Why Jasper Reports shows empty report in server, but generates correctly in jasper studio

不羁的心 提交于 2019-12-04 05:05:42
问题 I am using Jasper Studio 6.6.0 and Jasper server 7.1. I have created a simple report with an image from a specified URL. It generates correctly in Jasper Studio, but in the server it shows empty. Please refer images attached: Server Screenshot Jasper Screenshot 回答1: If you want to show something in the JasperReport without data source or with empty data source then you have two options: 1) Set the When No Data Type property on All Section No Detail option in the Jasper Studio: In JRXML it can

How to define a class of a parameter that is not present in the select?

本秂侑毒 提交于 2019-12-02 14:11:22
I got a problem with the Jasper Studio application. I want to make a parameter, but I don't find java.lang.collection in the class select. What's the solution so that java.lang.collection is in the application You have 2 options Type the class directly (it's an select, but you can also type) Press the button next to the select it will open a Dialog as shown in image, then type your class and press "OK" I'm not sure what class java.lang.collection is I guess your are looking for java.util.Collection 来源: https://stackoverflow.com/questions/54339527/how-to-define-a-class-of-a-parameter-that-is

Jaspersoft Studio 6.2 Build Path Warning [closed]

久未见 提交于 2019-12-02 10:50:58
I've recently installed Jasperserver and Jaspersoft Studio to work with JasperReports. After creating a database connection to my PostgreSQL database and building a report from that database, I'm getting the following warning in Jaspersoft Studio, which I've been unable to resolve. Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. I found the configuration didn't have an associated JRE System Library, so I tried using the JRE System Library [JavaSE-1.6] installed with Jaspersoft Studio, which

Why Jasper Reports shows empty report in server, but generates correctly in jasper studio

拟墨画扇 提交于 2019-12-02 07:22:10
I am using Jasper Studio 6.6.0 and Jasper server 7.1. I have created a simple report with an image from a specified URL. It generates correctly in Jasper Studio, but in the server it shows empty. Please refer images attached: Server Screenshot Jasper Screenshot If you want to show something in the JasperReport without data source or with empty data source then you have two options: 1) Set the When No Data Type property on All Section No Detail option in the Jasper Studio: In JRXML it can be done by setting whenNoDataType="AllSectionsNoDetail" attribute on the root <jasperReport> element. 2) Or

How to populate chart data with JavaBeans collection dataSet?

此生再无相见时 提交于 2019-12-01 20:54:07
问题 I have already created a working jrxml report presenting a table populated by a dataset of a collection ( List ) of Java beans. Now I would like to use that same dataset to create Chart (basic bar chart for starters). Each bean contains 4 values that I would like to show on bar chart: month, normal hours, travel hours, and overtime hours. I was hoping that each bean would generate a group of 3-bars for each month so in the end the chart would contain 12x3 bars growing from bottom to up and

How to populate chart data with JavaBeans collection dataSet?

耗尽温柔 提交于 2019-12-01 18:30:11
I have already created a working jrxml report presenting a table populated by a dataset of a collection ( List ) of Java beans. Now I would like to use that same dataset to create Chart (basic bar chart for starters). Each bean contains 4 values that I would like to show on bar chart: month, normal hours, travel hours, and overtime hours. I was hoping that each bean would generate a group of 3-bars for each month so in the end the chart would contain 12x3 bars growing from bottom to up and the name of the month would act as a label under the 3-bar groups, each group positioned next to another

Add custom data source to Jaspersoft Studio

时间秒杀一切 提交于 2019-12-01 03:15:02
I am trying to fill a table by passing a custom data source to it. I have created a simple report with a table on it. The report it self gets the data from a ms sql database. I have written a java class similar to the class in this Example . But I get no value in table. At the example there is no scriptlet. I have checked the (String) this.getFieldValue("KN_FormelGG"); line of code. It gets the data from field and can show it on report. So I guess the bean data source is not filled. I call the fill Table method in a afterGroupInit . How can I use Collection of data from java in jasper? I tried