Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Pass dataset to MasterReport instance

  1. #1
    Join Date
    Jan 2009
    Posts
    23

    Default Pass dataset to MasterReport instance

    Hi everyone.

    I have successfully embedded the Pentaho Reporting Engine on a Clojure application. However, I would like to know if exists a way to pass a dataset directly to a MasterReport instance? The example provided on https://help.pentaho.com/Documentation/7.0/0R0/140 explains how to do it using a SQLReportDataFactory (DriverConnectionProvider + SQL query).

    For my use case, I can't use a SQL query because the dataset is constructed from many data sources, and then it gets transformed in several steps.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2009
    Posts
    23

    Default

    After doing a long research, I think I found what I was looking for. Currently, I am trying to use the org.pentaho.reporting.engine.classic.core.TableDataFactory class to provide data to my report. However, I don't know how should I configure the datasource inside my report. Should I use the external datasource type?

  3. #3
    Join Date
    Jan 2009
    Posts
    23

    Default

    I finally solved the problem. I had to use a Table type datasource.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2017 Pentaho Corporation. All Rights Reserved.