Jump to content
Changes to the Jaspersoft community edition download ×

james_kwok

Members
  • Posts

    12
  • Joined

  • Last visited

james_kwok's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Previously I've posted on loganathann issue as well but there seems to be no solution. I was using the Hibernate datasource implementation that comes with Jasper (inside example data source). Note that the problem doesn't happen when I choose to use JDBC datasource for the input control, so there should be something wrong with the Hibernate data source.
  2. After some investigation, I realises that this only happens for Hibernate Data Source using hql. JDBC data source using SQL doesn't exhibit the problem. I'm using the sample Hibernate data source provided by the installation package. Anyone encounters this also using the provided Hibernate data source? Any extra steps that I need to do to solve this issue? Thanks.
  3. Anyone encounters extreme slowness with standalone iReport? I've tried all osx, linux and windows and they are all slow, especially when opening the report design. Have tried to increase the heap size by editing ireport.conf but no significant difference here. Surprisingly if I launch a full Netbeans IDE with iReport plugin installed, it works really fast :p
  4. Hi, I'm trying to edit a jrxml report in JasperServer 4.0 using iReport Netbeans plugin version 4.02. After I edited the jrxml temporary file, I right click on the server document and select "Replace with current document". But this doesn't work, the server copy is not updated. On the other hand, if I right click the server document select Properties. There I can replace the copy also by specifying the replacement file path. This way works but its more steps needed.
  5. Hi, is there any way to disable caching in Jasperserver completely? My report keeps on getting old data and I need to restart the app server for the reports to reflect the new data. I'm using Hibernate datasource and I've disabled all caching in the hibernate.cfg. I suspect its Jasperserver that is doing the additional caching. (I'm not referring to OLAP caching but the JasperReports caching). Thanks.
  6. Ok tried it and I got this error : The following is not a valid MDX query: com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.client.CustomReportDataSourceImpl cannot be cast to com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.JndiJdbcReportDataSource My MDX is : select {[Measures].[Total Sales Amount], [Measures].[Number of Sales], [Measures].[Avg Sales Amount]} ON COLUMNS, NON EMPTY ([sale].[All Sales]) ON ROWS from [saleProfit] This MDX works fine with JDBC Connection.
  7. Oh and do I have to put my Hibernate DAO classes somewhere?
  8. Would like to ask whether Hibernate (HQL) is supported with OLAP Analysis View? I assume we can write the OLAP Schema using HQL tables and connect it with a Hibernate DataSource? For the view itself, then we just use MDX? Thanks.
  9. Hi, I tried to create a Single Input Query using HQL and Hibernate Data Source (provided in samples) but I always get the following error : java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Class at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRQueryExecuterAdapter.getDatasetParameters(JRQueryExecuterAdapter.java:194) at com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRQueryExecuterAdapter.executeQuery(JRQueryExecuterAdapter.java:99) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeQuery(EngineServiceImpl.java:1055) at com.jaspersoft.jasperserver.war.action.ReportParametersAction.executeQuery(ReportParametersAction.java:773) at com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:488) at com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:420) at com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:144) at com.jaspersoft.jasperserver.war.action.ViewReportAction.checkForParams(ViewReportAction.java:204) However, this does not happen if I use a direct JDBC Input Control with SQL. Disabling the Input Control somehow makes this error disappears, so I suspect there is something with the Input Control. I've tried to change the HQL and so but still get the error. My HQL : select branch.code as code1, branch.name as name1 from tblBranch as branch. I'm asking the InputControl to use code1 as value and name1 as display. Thanks in advance for any help.
×
×
  • Create New...