Creating reports with JasperReports

Hello guys,.

I need to generate different reports (PDF format) in my apex application. I read about the use of reports jasper in different forums, so I tried to use it for my reports.

I created the Group 6.1 of jasperreports-Server tomcat version and installation of postrge. Everything worked well and I can connect to the web interface of my reportsserver. I have also created a test with the iReportDesigner report.

But now I don't know what is the next step.

How do I load/put the file on my server? What im needing file, .jasper or .jrxml?

And how to call the apex/Oracle report? Do I have to install some packages, or something?

IM using the oracle database 11g 2 with EPG and apex version 4.2.6 on 13.2 openSUSe.

Kind regards

pleNn

Hi guys,.

I'm sorry about the broken links. I already wanted to update the site, but never got around that.

Please use this version here: Index of /downloads/free_tools/JasperReportsIntegration/2.1.0

Already working on a new version to support JasperReports 6.0.3... but takes a bit.

Thank you

~ Dietmar.

Tags: Database

Similar Questions

  • I want to create report with these conditions

    Hello world

    I have to table
    -First table
    SQL > desc std_info
    Name Null? Type
    ----------------------------------------------------------------- -------- --------------------------------------------
    ROLL_NUM NOT NULL NUMBER
    NAME VARCHAR2 (20)
    AGE NUMBER
    COURSE VARCHAR2 (20)
    LOCATION VARCHAR2 (20)


    -The second table
    SQL > std_fees desc;
    Name Null? Type
    ----------------------------------------------------------------- -------- --------------------------------------------
    NUMBER OF ROLL_NUM
    NEIGHBORHOOD VARCHAR2 (5)
    NUMBER OF THE YEAR
    CLASS VARCHAR2 (20)

    -------######--------
    The data in the first table
    SQL > select * from std_info;

    ROLL_NUM NAME AGE LOCATION OF COURSES
    ---------- -------------------- ---------- -------------------- -------------------
    1 ALI 20 END BH
    MINISTRY OF HEALTH 2 22 END BH
    3 GAYL 30HR BH
    4 ABBAS 23 he LH

    The second
    SQL > select * from std_fees;

    ROLL_NUM QUARTER YEAR CLASS
    ---------- ----- ---------- --------------------
    1 Q1 2009 C1
    1 Q2 2009 C1
    1 Q4 2009 C1
    2 Q1 2009 C1
    2 Q2 2009 C1
    2 Q3 2009 C1
    2 Q4 2009 C1

    ----
    I want to create SQL statements which that help me create the report to display Null values for the second table
    more explanations, each student must pay each quarter, if he has not paid, its name should appear in the report.
    for example on my table.
    the student with 1 roll number he paid every quarter except T3 so his name should be on the report and on the report display message Hi missed Q3.
    the student with the roll number 2 does not display his name because he has paid quarterly
    the student with the roller 3 and 4 numbers must display their name because they did not pay

    I don't have your table. So I used the WITH statement to create the fictitious tables. You do not have to use the std_info and std_fees only WITH the clause, you must use is the trim.

    If your query would be like this

    with qtr
    as
    (
    select 'Q1' quart from dual union all
    select 'Q2' quart from dual union all
    select 'Q3' quart from dual union all
    select 'Q4' quart from dual
    )
    select t.roll_num, t.quart
      from (
             select roll_num, quart
               from std_info
               cross join qtr
           ) t
      left join std_fees f
        on t.roll_num = f.roll_num
       and t.quart = f.quart
     where f.roll_num is null
     order by 1,2
    
  • How to create the report with check box (Update, Delete) operations

    Hi all

    I want to create report with check boxes.

    I created it based on the user's manual. But do not delete records. Please help me

    Apex. Oracle.com

    workspace: APPSGURU

    RAMBEAU. [email protected]

    P.W:rag$ 123

    Application:36232

    Page: 14

    Thank you and best regards,

    Rambeau

    Raghu,

    Request for check line deleted successfully.

    made some changes in the removal process.

    Leave.

  • How creat a summary report with txt.

    Hi all

    I want to create a summary of the report with .txt, and I disabled the feature of report generation in teststand.

    I created a complex sequence, includes some sub-sequences, example: the UUT is tested on three different temperatures and four different voltages conditon. So I creat three subsequences (different temperatures) there are four steps (different voltages), then mainsequence invoke three subsequences to excute test.

    I only want to get the fail-no summary, include: name of the step-fail, status

    How do I? Thank you very much

    You can use Parameters.Step.Name to get the name of the step failed. You can also use something like Parameters.Step.StepType.Name is 'NI_MultipleNumericLimitTest' to the different types of filter steps.

    To the extent where the string any failure...

    You can check RunState.CallStackDepth to see callers how you deep. Based on this information, you can use RunState.Caller.Caller. (in sequence but of many appellants deep, you are). RunState.Step.Name or. Sequence.Name

    So if the CallStackDepth is 1, you can only use a caller. If it was 2, need to recursively would you use 1 caller and then 2 appellants and so on.

  • Problem when creating a report with a date of schduled

    When I tried to create a report with a schedule (any option except now) I get the error 'Date of the first report occur must be after or equal to the current date", unless I have use a date of 01-10-2012 or later in the first report occurs on the field.  Current date is 2012-08-23.

    Let me know if you can recreate it and if or when there is a fix.

    Hi Tim,.

    We have fixed the problem now. Could you please check that you are able to schedule a report now with start date of today?

    Thank you

    The OnPlus team

  • Creating a new report with 1 seal import

    Hi all

    When I import a discoverer workbook that is already existing I always use the following two options.
    1 update the object
    2. by the identifier.

    But more than once, I see that import creates another report with the same name with a 1 on the end of the name of the report to make it unique (being the same owner).
    Whereas, according to my understanding, I think a refresh would crush the report pleased just rather than create a new one with a 1 on the end.

    Please advice is there anything that I'm missing when importing the report, so a 1 is not appended to the name of the report, and it should just replace the existing one.

    Kind regards
    Shruti

    Hello

    If you look at the properties of the workbook under file-> manage workbooks or files-> properties of the workbook, you will see the identifier of the workbook. If any workbook has the same identifier as the existing workbook the option replace ensure that the workbook is to replace. If the names are different, then a copy will be created.

    You can change the identifier to be the same or must match or the name of the workbook to make sure that a copy is not created if the names are different.

    Rod West

  • Create the report with the structure in obiee 11g?

    Hello

    I want to create report without data, it has the structure. the data in this report, add in the future.

    I want to show the lines of value null & coulmns in the report.

    For example, I created the table name as cs_ue_lf table.

    structure as follows. I did not insert a line any.

    err11.jpg

    I have check the table. There is no data

    err12.jpg

    I created RPD and added to the em.

    I chose the field as uncleared effects

    Drag the columns of criteria.

    err13.jpg

    In the results, I didn't not even structrue in report.

    I get the error message as 'specified criteria result no data'.

    err14.jpg

    My project requirement is

    create a report without data. only one structure (coulmns). Report have only column names. data inserts in the future.

    Please help me.

    To do this, I put properties column as "include null values.

    I tried. But I did not. Is this possible?


    Please help me,

    Thanks in advance,

    A.Kavya.

    What:

    insert into cs_ue_lf values ('foo',0,0,0,0,0)
    

    Or even a kind of Cartesian join in the RPD against a table to produce a lot of dummy data

    I wonder: why do you need this?

  • Create reports on the Complutense University of MADRID

    Hi, I have a question to create reports in content WebCenter. I see in WebCenter content: Records that some reports in the search results. I used URM adapter to integrate the University Complutense of MADRID and URM, but the same option create reports is not display in search results Complutense University of MADRID. The question is, is it possible to create reports on the AAU that I in URM?

    Like this: https://blogs.oracle.com/kyle/entry/creating_custom_report_templates_with

    Hello

    I used URM adapter to integrate the University Complutense of MADRID and URM, but the same option create reports is not display in search results Complutense University of MADRID.

    Are you that referring on the server of the University Complutense of Madrid which has the card activated the reports option does not appear?

    I think that the report templates are not installed / released into the system, it is the most common reason for the option to not appear. Try the steps here.

    Go to folders-> configure--> installation check list, and then click default installation of models (even though it says ok/made) and then check out. So again, which does not contain the Menu item, go through the following steps

    Try these steps;

    -----------------------------

    1. review the following documentation: Release Notes Oracle® Fusion Middleware 11 g Release 1 (11.1.1) for Linux x 86-64. Here is the link:

    http://docs.oracle.com/cd/E23943_01/doc.1111/e14770/ucm.htm#ASRLA4867. http://docs.Oracle.com/CD/E23943_01/doc.1111/e14770/UCM.htm#ASRLA4867

    2. navigate in the section document 38.1.20 manual addition of xdoruntime.ear library of records management.

    3. to consider and implement the steps described in section above.

    4. confirm that the report templates are released by checking the queue of work in PROGRESS. If report models are stuck in WIP due the State GENWWW, please fix the problem with the infectious rhinotraecheitis BOVINE/indexer and resubmit the report templates.

    5. new test problem.

  • XLS-models with BI Publisher using and download the reports with APEX

    Hello

    I already create PDF reports with RTF Templates. In the APEX, I create a button and a process of "Download" to get the PDF-reports the BI Publisher. ". We use version 11.1.7.

    Now I try the same thing with XLS-Templates. I create the XLS model in the editor of BI and where it works very well. Now I need also an APEX-"Download" - Process to download the XLS reports to the client. The method already used doesn't work for RTF models.

    Kind regards

    Mark

    Hello

    I found here, the format has value "excel", not "xls"!

    http://docs.Oracle.com/CD/E28280_01/doc.1111/e26693/ibr_config.htm#WCCAA2062

    Now it works like a charm!

    Kind regards

    Mark

  • Data store report with NFS export pathname specification

    Hi all I created a report with the SCSI LUN ID and NFS export path specification data store.

    But I have no idea of the NFS export the path of a query data store. Can you help me in the following script?

    $report = @)

    $VMHost = get-VMHost-location

    $cluster foreach ($cluster Get-cluster) {}

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq "VMFS"}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = Get-ScsiLun - Datastore $_

    $info. NFSPath = "n/a".

    $report += $info

    }

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq 'NFS'}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = "n/a".

    $info. NFSPath = "I don't know".

    $report += $info

    }

    Thank you.

    You can use the attributes RemoteHost and RemotePath of the data store to get the path in any format you want.

    e.g. $info. NFSPath = "$($_.)". RemoteHost) :/ $($_.) RemotePath).

  • form of execution of report with parameters in oracle 10 g

    DB and dev rel2 10g, xp
    Hi all
    I can run Report Builder of forms with this code:
    DECLARE
     
    v_repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(100);
    v_param VARCHAR2(200) := NULL;
    v_valor VARCHAR2(200);
    v_url VARCHAR2(2000);
    v_repserver varchar2(20) := 'myserver';
     
    v_report varchar2(100) := 'D:\REPORT_NAME.REP';
    v_PARAMETRO varchar2(100) := '';
     
    BEGIN
     
    v_repid := FIND_REPORT_OBJECT('MYREPORT'); -- report is an element from object navigator report
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_FILENAME, v_report);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESFORMAT, 'pdf' );
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESNAME, v_report);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_SERVER, v_repserver);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_OTHER, 'paramform=no '||v_PARAMETRO);
    v_rep := RUN_REPORT_OBJECT(v_repid);
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE v_rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    END LOOP;
    IF v_rep_status = 'FINISHED' THEN
    message(v_rep);
    message(v_rep);
    WEB.SHOW_DOCUMENT(v_url||'/reports/rwservlet/getjobid'||
    SUBSTR(v_rep, INSTR(v_rep,'_', -1)+1)||'?'||'server='||v_repserver, '_blank');
    END IF;
     
    END;
    but I want to run a report with the parameter, that's my problem.

    which I think is to create a list of parameters 'tmp' and add a 'p_ename' parameter that contains the value of a text element ": t_ename" who I want to do my report, then add the parameter list parameter to the
    run_report_object (myreport, "parameter list");
    then
    Adds a user setting with the name "p_ename" to my report in Report Builder and test it, but I did it and nothing happens, it runs the report with the data set, not only with the data from the text value of the element?

    How to solve this problem?
    Thank you

    SET_REPORT_OBJECT_PROPERTY (v_report_id, REPORT_OTHER, 'p_deptno =' |:dept.deptno |' paramform = no "");

    Change the line preceding with a bellows

    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_deptno='||QT||:dept.deptno||QT); --- remember to add QT at your declaration
    QT char(1):=''''; -- only at declaration section if you want to add single quote(')
    

    and place it just place of

    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_OTHER, 'paramform=no '||v_PARAMETRO);
    

    your first code posted

    I hope this works... :)

    Hamid

  • change the results of the report with the selection list using dynamic action

    This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.

    I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR

    My request for my report is:

    Select md_id, display_name, description
    of media_tbl
    where fiscal_year =: P177_FISCAL_YEAR

    When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.

    Thanks in advance!

    John

    Create dynamic Action:

    When
    Event: change
    Selection type: product (s)
    Article (s): P177_FISCAL_YEAR
    Condition: - unconditionally.

    Real Actions (add 2 real actions)
    -the first is to load the value in session state so that the report can see.
    Sequence: 5
    Action: execute the PL/SQL Code
    Code PL/SQL: null;
    Items to submit page: P177_FISCAL_YEAR

    -the second to refresh the report
    Sequence: 10
    Action: Discount
    Selection type: region
    Region:

  • Use the dynamic report with BI Publisher parameters

    Are there tips for reports in BI Publisher? For example, I would use the same report for one person or many people. This would mean that where clause should be added when it is for the individual and is not necessary for the entire population. I don't see a way to dynamically build the report using "Report queries" in the shared components.
    It is easy to build a sql query based on various selection criteria in the Source to a pagethat of the region then gets displayedd on the page but I don't see a lot of flexibility in creating a report with BI Publisher at the Apex.

    How about from the collections?

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Query SQL Report with condition (multiple settings) at the point of the apex?

    Hi all

    I have a small problem and cannot find a solution.

    I need to create reports based on a query, SQL or I.R. Nothing hard here.
    I need to add the WHERE clause dynamically with javascript to an element of the Apex.
    Even once is not very difficult. I set the agenda of the Summit, put my query like this "SELECT * FROM MYTAB WHERE COL1 =: P1_SEARCH" then I call the page by setting the P1_SEARCH value. For example, COL1 is rowid. It works very well.

    But here's my problem. Consider that P1_SEARCH contains several ROWID, and I don't know the number of these values,
    (no I don't create a large number of items and create a query with so much GOLD!), I would sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (: P1_SEARCH) with something like: ROWID1, ROWID2 in P1_SEARCH."

    I also tried: 'ROWID1, ROWID2' and 'ROWID1', 'ROWID2 '.
    but I can't get anything else than the mistake of filter. It works with a value, but as soon as there are two values or more, it seems that the Apex is unable to read the string.


    How can I do it please?

    Thanks for your help.

    Max

    mnoscars wrote:

    But here's my problem. Consider that P1_SEARCH contains several ROWID, and I don't know the number of these values,
    (no I don't create a large number of items and create a query with so much GOLD!), I would sotheming like "SELECT * FROM MYTAB WHERE ROWID IN (: P1_SEARCH) with something like: ROWID1, ROWID2 in P1_SEARCH."

    I also tried: 'ROWID1, ROWID2' and 'ROWID1', 'ROWID2 '.
    but I can't get anything else than the mistake of filter. It works with a value, but as soon as there are two values or more, it seems that the Apex is unable to read the string.

    For a standard report, see + {message identifier: = 9609120} +.

    For an IR - and improve safety by avoiding the risk of SQL Injection, use a collection containing the values in a column instead of a CSV list:
    {code}
    SELECT * FROM MYTAB WHERE ROWID IN (SELECT c001 FROM apex_collections WHERE collection_name = "P1_SEARCH")
    {code}
    (Please close duplicate threads spawned by your original question.)

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

Maybe you are looking for