Index of the string to the apex XML output range error

Hi I am a newbie to the apex and my current versions are

Request Express 4.2.0.00.27
apex listener 2.0.5

I read this article http://marcsewtz.blogspot.com/2013/04/pdf-printing-with-oracle-application.html

I'm trying to get the PDF reports in my application with option listner apex apex. I kept getting "String index out of range:-1" error reports when I export my classic to XML. " Of other forumns, it seems that 'Patch Set 4.2.4.00.08' is the solution to this problem. (Not sure since I've not yet tried). https://community.Oracle.com/message/11224147


My classic report request is very simple with just 4 columns. No spaces or special characters in the names of columns in the report. Still, it does not with this error.

Also the question above of "String index out of range-1", it was a bug fixed in the patches update 4.2.4.00.08 group. I don't see anything in the list of the bugs fixed for it.

http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-424-patch-set-notes-2081595.html#BABIFAEF

I tried to import my request to 4.2.4.00.08 Apex (apex virtual - space http://apex.oracle.com ), and this error to export XML "String index out of range" doesn't happen here. The Group of hotfixes so seems to have the fix for this problem for me.

Tags: Database

Similar Questions

  • Create the apex of relaxation privilege error

    Dear all,

    I create a websheets in oracle using apex 4.1 schema HR.

    the problem is that when I create a websheets it shows manage database objects > create database websheets objects > create
    When I click on create button show

    1 error has occurred
    Human resources don't have the trigger privilege to create. (Go to the error).

    even if I grant dba to hr. but the error persists.

    Help, please.

    Hello

    You must create the table and created the privileges of trigger to create db objects websheet. You may not use the role DBA here, so you need to use:

    GRANT CREATE TRIGGER TO HR

  • The index of the frame out of range

    I use Lynda SG training and becomes the first 01_01_interface example Frame index out of range. Files in Adobe Bridge are .mov and a rate of 23.976 which is what I put in the reading and editing-> Base frame rate in SG. I can load the files in first and they play normally in the timeline panel.

    Thanks to Robbie Carman for his great support on this issue. The resolution is to remove and reinstall SpeedGrade. I know, big hammer approach, but I didn't want to be down until the developers could watch and hopfully they know what triggers this error in their code and will come with a fix in a future update or release. It would be great to hear from Adobe if there is a more simple solution and a lot less time.

  • The apex report output

    I get the result following from the report:

    No.Servers in the grid:
    0

    1 - 1

    Is it possible to remove 1-1 page run?

    Hello

    If it is an interactive report then go to report attributes then section Pagination and select "no paging" for the type of paging.

    If this is a Sql report, then go report attributes, then layout and pagination of the article and do not select "No paging" in paging system.

    Thank you
    Tauceef

  • The/apex/listenerConfigure requested URL was not found on this server

    Please help me...

    After running in the command prompt (java-jar c:\apex.war) to install the earpiece of the apex.
    I have error when I call link http://localhost: 8080/apex/listenerConfigure.

    In the browser displays:

    Not found
    The/apex/listenerConfigure requested URL was not found on this server

    How can I fix this error?


    Thx  :)  :)  :)

    How to mark this thread?

    It seems that you have marked threads as answered present. ;) Probably, you will also find a way to mark messages like 'proper' or 'helpful '...

    at this point, I select complete development environment for the execution environment of this stage is spent. is it good?

    Fix.

    next step is 3.3.3 change the password of the ADMIN account, I think that this step went too couse I read
    "In a new installation of the Oracle Application Express, or if you convert a runtime environment in a development environment, you must change the internal ADMIN account password. In an upgrade scenario, the password is retained and carried over from the prior release. "is right?

    Well, it depends on... You have installed APEX the first time, you do not have a new facility. Anyway, it does not hurt to reset this password... After all, you have validated, you don't know, right? So the only option you have to meet her anyway...

    and a question again, how do to restart proses in point 3.3.4 restart the process?

    Documentation is actually a bit confusing, as this whole section applies only to installation with the APEX listener, so usually there is no Oracle HTTP Server must be restarted. Service that you do not want to restart the listener APEX itself.

    -Udo

  • Trigger the error but only in the Apex

    I have a trigger with the following insert statement:

    insert into oe_headers_iface_all (order_source_id, orig_sys_document_ref, order_type_id, created_by, creation_date, last_updated_by, last_update_date, sold_from_org_id, sold_to_org_id, operation_code, booked_flag)
    values (1023, 'TEST', 1116, sysdate, 0, 0, sysdate, 225,65372, 'INSERT', ' don't);

    This trigger works well outside the Apex; It is not a mistake and inserts values into this table. But when I insert a record in my table by Apex, I get the following error:


    ORA-01722: invalid number ORA-06512: at the 'APPS '. RMA_TRACKER_T1', line 144 ORA-04088: error during execution of trigger ' APPS. RMA_TRACKER_T1'

    If I comment that insert statement it runs in the Apex and does not error.

    Any idea about what could be done Apex so angry with this insert statement? It says "invalid number" but I checked the fields again and again, and like I said if I just run this statement myself or insert a record in my table manually it works and does not work error, so Apex seems to be lying to me. In addition, the Apex version is 4.0.1.00.03.

    Published by: Cydonia on May 25, 2011 15:54

    Hello

    Oracle order management interface have a few important columns requiring registrant in the tables of the interface,

    OE_HEADERS_IFACE_ALL:
    ORIG_SYS_DOCUMENT_REF
    ORDER_SOURCE
    CONVERSION_RATE
    ORG_ID
    ORDER_TYPE_ID
    PRICE_LIST
    SOLD_FROM_ORG_ID
    SOLD_TO_ORG_ID
    SHIP_TO_ORG_ID
    SHIP_FROM_ORG_ID
    CLIENT_NAME
    INVOICE_TO_ORG_ID
    OPERATION_CODE

    I have this Inserts instructions and work very well for me...

    Insert in Ontario. OE_HEADERS_IFACE_ALL
    (
    CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY.
    ORIG_SYS_DOCUMENT_REF, ORDER_SOURCE_ID, ORDER_CATEGORY, ORDERED_DATE.
    ORG_ID, sold_from_org_id, ORDER_TYPE_ID, SALESREP_ID, CUSTOMER_PO_NUMBER,
    CUSTOMER_id, sold_to_org_id, BOOKED_FLAG)
    Values
    (Sysdate, Sysdate, P_USER_ID P_USER_ID, vReq_num, SOURCE_OM, 'ORDER', Sysdate,
    P_Org_ID, P_Org_ID, 1027, vSales, vPo_num, ii. CUSTOMER_ID, i.CUSTOMER_ID,
    'N' );
    ----

    It is to command lines
    ---
    Insert into Ontario. OE_LINES_IFACE_ALL
    (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, ORG_ID, LINE_NUMBER, INVENTORY_ITEM, ORDERED_QUANTITY, UNIT_SELLING_PRICE, UNIT_LIST_PRICE, PAYMENT_TERM_ID,
    CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, ORDER_QUANTITY_UOM, CREATED_BY
    ATTRIBUT1, ATTRIBUT2, ATTRIBUT3, CALCULATE_PRICE_FLAG, SCHEDULE_SHIP_DATE)
    Values
    (SOURCE_OM, vReq_num, vlinea, p_Org_ID, vlinea, j.upc, j.ORDER_FORM, ((j.costo / 0.95), 2),)
    Tower of ((j.costo / 0.95), 2), 1003, P_USER_ID, P_USER_ID, Sysdate, Sysdate, one ', j.costo, 5% ', j.costo,
    ' N ", j.NEED_BY_DATE);

    Mortus-

  • dates of 24 hours in the apex

    Newbie question:

    I'm having a hard time getting any time after 13:00 inserted in a TIMESTAMP field.

    I have a table named TRUCK with a column of timestamp TIME_IN. I've had APEX generate a form on TRUCK and TIME_IN is presented as a DATE in format DD-MON-RR HH24:MM PICKER.

    1. when I leave such TIME_IN generated on the shape of the APEX, I get this error when entering the time > = 13:00

    ORA-01849: time must be between 1 and 12

    2. when I use this calculation to modify the value of TIME_IN as follows after submit

    TO_CHAR (TO_TIMESTAMP (: P15_TIME_IN, 'DD-MON-RR HH24'), ' DD-MON-RR HH: MI AM ")

    I get this error:

    ORA-01858: a non-digit character was found here where was waiting for a digital

    3. Finally, when I omit the 'AM' in the format mask, I have no errors but any time after that 13:00 are incorrect - they are reduced to 12 hours
    (I mean that when I create a new record, after selecting 23:15 on the date picker, the time 11:15 is inserted in the table):

    Can anyone help?

    BTW this is APEX 2, the version that comes with Oracle XE for Windows.


    Thank you
    Peter Kopke
    [email protected]
    .

    Hello

    > It's BTW of APEX 2, the version that comes with Oracle XE for Windows.

    TIMESTAMP support was added in version 2.2, so in the last version you use (2.1) it is not supported.

    You must upgrade the APEX version you use, and the following should help you - http://www.oracle.com/technology/products/database/application_express/html/why_upgrade_xe.html

    Kind regards
    Arie.

  • How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    How cut the length of the string IE channel name here, if it exceeds 20 characters or letters. The channel name is dynamically analyzed the spreadsheet/xml file.

    My Council of Europe in the .js file is

    function generateHTMLMarkup (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    "Str += '.
    "+ ""+""+"
    ";
    Alert ("this is lang" + str);
    return str;

    }

    nerateHTMLMarkup: function (i, channel) {}
    Alert ("this is lang" + str);
    var str ="";
    "Str += '.

    ";
    str += "" +
    "" +
    "" + channel ['name'] + "" +.
    "" + "
    ";
    "Str += '.
    "+ "" + "
    ";
    Alert ("this is lang" + str);
    return str;

    etc.

    Give mthe rhythm and the exact code where Ihave tio get implemented.

    in the code, replace change

    channelName var = channel ['name'];

    TO

    channelName var = channel ['name'];

  • Index on the column of string with uppper?

    Hello

    I have the table containing the primary key of the string column. I want to create the index on the primary key and another column.

    Best solution (for the performance) will be create index higher using as

    ON TABLE (UPPER("ID"), ANOTHER_COLUMN)

    or without SHANK

    ?

    Best regards

    m.

    Hope that the ID is a primary key. If this query will return one row, and it will go for a sweep of unique index. Just remove the UPPER function and do like id = UPPER (value);

    Before removing the UPPERCASE function, make sure that the data will be uppercase in the table.

    Because of the HIGH, it will not hit the Unique index...

  • Debug log 5 Apex: "cannot find index for the item.

    I just spotted some strange output in the debug log in an application built in 4.0, still, using this mode of compatibility, now in 5.0.1

    apex5_debug_log.png

    Some error messages for crawlers

    Fetch application meta data
    can not find index for component (3,15469335749905175)
    can not find region index for region #15469335749905175 when trying to add (1,15481314906419581) - it must be excluded because of REQUIRED_PATCH
    

    Can anyone advise me on what it means? Or what other information of interest?

    Nothing seems to be a problem with the page. The specified region is extremely basic html with a compilation option that is excluded. Other regions with the same compilation option do not report these log files in the debug.

    Scott.

    Hi Scott,.

    It is indeed related to the build option and you can ignore the messages. I'll put their debug level 9 If you don't see them in the normal debug output.

    Before the page is rendered, APEX load relevant metadata in the wwv_flow package global variables. For example, fill us the tables g_items, the g_buttons and the g_plugs with the definitions of element, button and region, respectively. We do not charge the definitions of components that are excluded by a compilation option. After loading these data, we must build relationships between records, for example, we calculate index of the item in the g_plugs region and store it with the definition of the element. If the region is excluded by a compiler option, but the underlying element is not, the computation of the element cannot find the related region folder in g_plugs. You get messages from debugging for this kind of inconsistencies.

    Kind regards

    Christian

  • Display of XML in the APEX problems

    Hello.

    Help pls, have an Oracle XE and APEX 4.2.1 when trying to display 1 data sell shema form DB (xmltype) (xml document example - 1116 symbols to sell table DB-) in the report of the APEX (SQL query type), in application Apex data report displayed not fully, as 500 symbols off 1116.

    What is and how to fix it?

    Police says:

    I'll try to explain my problem in detail.

    I create a report > report APEX Classic with 1 column and 1 row to display a 1 query xml data document form sql. These data should be displayed in a cell in report APEX > classic report, but as I mentioned earlier, the data in my cell completely visible, as 500 symbols off 1116.

    Is this clear?

    Not really. I don't know what is meant by "symbols" in an XML context. It would be more useful to see an explanation using standard SQL and XML terms such as rows/columns and documents, elements, tags, attributes. Illustrating the problem with an example on apex.oracle.com, it is usually the most effective way to get help. The report query view can also be useful.

    Note that the maximum size of an APEX report line (including all HTML) is also 32 K. This means that the size of these "symbols" (whatever they are) must be less than 29 bytes each for each of them to fit in a cell in a row, which can call this 'design' in question.

  • Application of pivot using XML in the APEX option

    Hi all..

    I am using the following query to pivot

    with pivot_data like)
    SELECT bdate, cat_code, no_of_ppl, agent_Code FROM test_table
    )
    Select * from pivot_data
    (XML) PIVOT
    Sum (no_of_ppl) to (agent_code), IN (select agent_code from tbl_agents)
    )
    order by bdate;

    When I run it using apex SQL Workshop we give the following result

    BDATE CAT_CODE AGT_CODE_XML
    01/01/2011 4 [data type not supported]
    01/01/2011 5 [data type not supported]
    01/01/2011 6 [data type not supported]
    01/01/2011 7 [data type not supported]

    What can b the reason to give the "unsupported data type' instead of the actual values.

    Kind regards

    AD_PSA

    To get APEX to render the XML output must be serialized (default) CLOB or VARCHAR2:

    select
              deptno
            , xmlserialize(content job_xml) xml
    from
              (select
                        job
                      , deptno
                      , sal
              from
                        emp)
    pivot
              xml(sum(sal) for job in (select distinct job from emp))
    order by
              deptno;
    
    DEPTNO XML
    ------ ---
    10     ANALYSTCLERK1300ENGINEERMANAGER2450PRESIDENT5000SALESMAN
    20     ANALYST6000CLERK1100ENGINEERMANAGER2975PRESIDENTSALESMAN
    30     ANALYSTCLERK950ENGINEERMANAGER2850PRESIDENTSALESMAN4100
    40     ANALYSTCLERK800ENGINEER1500MANAGERPRESIDENTSALESMAN 
    

    To use it in a report the result of pivot XMLType must be shredded using XMLTABLE to produce additional columns, or transformed into HTML using XSLT then serialized.

  • PL-JRXML2PDF with several report does not work inside the apex

    Hello

    I try to use PL -JRXML2PDF to create a PDF file inside the apex, so I follow the steps;

    1. create the jdbc to my database connection

    2 - create my report designer ireport 5.6.0 (with 4 subreports)

    2 - Copy the XML to the report_definition table.

    but when I try to print the report that I have this error:

    Capture (1).PNG

    and my xml:

    ======================================================

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < jasperReport xmlns =" http://JasperReports.sourceforge.NET/JasperReports "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance "xsi: schemaLocation =" http://JasperReports.sourceforge.NET/JasperReports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"name ="DMD CHANGE"language = 'groovy' pageWidth ="792"pageHeight ="612"orientation = columnWidth 'Landscape' ="752"leftMargin ="20"rightMargin ="20"topMargin ="20"bottomMargin ="20"uuid ="9e761d91-affc-4952-a301-1419c2299438"> "

    < name = "ireport.zoom property" value = "1.0" / > "

    < name = "ireport.x property" value = "0" / > "

    < name = "ireport.y property" value = "0" / > "

    < name of the parameter = "SUBREPORT_DIR" class = "java.lang.String" isForPrompting = "false" > "

    < defaultValueExpression > <! [CDATA ["C:\\Users\\xtighfo\\Desktop\\"]] > < / defaultValueExpression >

    < / parameter >

    < language queryString As String = "SQL" >

    <! [CDATA [SELECT so date_dac, sp, se, descr_statut,]]

    ENT, descr_chg, descr_sp, no_frm, description

    OF v_dac_frm

    [[WHERE SO = 1003 AND ID_STATUT = 2]] >

    < / queryString >

    < field name = 'SO' class="java.math.BigDecimal"/ >

    < name of field = class="java.sql.Timestamp"/ "DATE_DAC" >

    < field name = "SP" class="java.lang.String"/ >

    < field name = "SE" class="java.lang.String"/ >

    < name of field = class="java.lang.String"/ "DESCR_STATUT" >

    < name of field = class="java.lang.String"/ "NO_FRM" >

    < field name = "ENT" class="java.lang.String"/ >

    < name of field = class="java.lang.String"/ "DESCR_CHG" >

    < name of field = class="java.lang.String"/ "DESCR_SP" >

    < field name = "DESCRIPTION" class="java.lang.String"/ >

    < back >

    < band splitType = "Stretch" / >

    < / background >

    < title >

    < band / >

    < /title >

    < Entetepage >

    < band height = '24' splitType = "Stretch" >

    < evaluationTime image = "Page" >

    < reportElement x = "-1" y = "-20" width = "151" height = "40" uuid = "07bca3ff-be5d-43a1-b6bf-c2899ef36915" / >

    < Expressioncharacter > <! [CDATA ["' #WORKSPACE_IMAGES #Logo_mtrl.png" "]] > < / Expressioncharacter >

    < / image >

    < / bands >

    < / pageHeader >

    < detail >

    < band height = "352" splitType = "Stretch" >

    < textField >

    < reportElement x = '99' y = "31" width = "100" height = "20" uuid = "814087fc-2fea-4bb8-a1de-95e470f493fe" / >

    < textFieldExpression > <! [CDATA [$F {SO}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement x = "-1" y = "31" width = "100" height = "20" uuid = "f0db3e3a-6f29-415a-a3d7-f13a9d94c68c" / >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [quote:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = "648" y = "31" width = "100" height = "20" uuid = "232fd18a-b291-4a19-9c31-64ae61492648" / >

    < textFieldExpression > <! [CDATA [$F {DATE_DAC}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement x = "548" y = "31" width = "100" height = "20" uuid = "ee828579-8433-4bdc-a9db-27ade9437e81" / >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [Date:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = '99' y = "51" width = "40" height = "20" uuid = "f63d2ea1-f4a7-4498-970d-e38a017cf6d9" / >

    < textFieldExpression > <! [CDATA [$F {SP}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement x = "-1" y = "51" width = "100" height = "20" uuid = "d59cd6bb-4c3d-4c71-b436-18f24eb071cf" / >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [subproject:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = "430" y = "52" width = "100" height = "20" uuid = "d55df242-f4e8-4890-a5e3-7a8a3acf25c2" / >

    < textFieldExpression > <! [CDATA [$F {DESCR_STATUT}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement x = "384" = "51" width = "46" height = "20" uuid = "9decd368-e24d-4003-b154-b134a7da8ecf" / >

    < textElement textAlignment = "Right" >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [status:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = "648" y = "51" width = "100" height = "20" uuid = "adb7f5fa-b60a-4b48-bd60-cad865781042" / >

    < textFieldExpression > <! [CDATA [$F {NO_FRM}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement x = "548" y = "51" width = "100" height = "20" uuid = "cb2539d5-7ae9-4ea7-883b-6b4345e9a89f" / >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [No. request:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = '99' y = "87" width = "256" height = "20" uuid = "9c9d791b-bc35-4311-ba3c-4c17551cccfe" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textElement >

    < spacingBefore paragraph = "1" / >

    < / textElement >

    < textFieldExpression > <! [CDATA [$F {NTS}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement mode = "Opaque" x = "-1" y = "87" width = "100" height = "20" backcolor = "#FAF7F7" uuid = "880100a9-c2b0-4b0b-8a51-dc02b1b709fd" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [contractor:]] > < / text >

    < / staticText >

    < textField >

    < reportElement x = "506" = "87" width = "242" height = "20" uuid = "2a18685e-3eab-4398-9c90-69225f765358" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textFieldExpression > <! [CDATA [$F {DESCR_CHG}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement mode = "Opaque" x = "355" y = "87" width = "151" height = "20" backcolor = "#FAF7F7" uuid = "61dd181a-9c31-47b4-931b-da25967c8caa" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [change of Nature of:]] > < / text >

    < / staticText >

    < isStretchWithOverflow textField = "true" >

    < reportElement x = "156" y = "51" width = "163" height = "20" uuid = "a868dee8-f4a4-489a-9ab2-40cdea464e6a" / >

    < textFieldExpression > <! [CDATA [$F {SE}]] > < / textFieldExpression >

    < / textField >

    < textField >

    < reportElement x = "-1" y = "127" width = "749" height = "20" uuid = "8eb0212e-885c-405f-86ce-92b83ba2ad28" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textFieldExpression > <! [CDATA [$F {DESCR_SP}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement mode = "Opaque" x = "-1" y = "107" width = "749" height = "20" backcolor = "#FAF7F7" uuid = "54598f76-0931-4325-a70a-0038e5d3bda1" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textElement >

    < font size = "10" isBold = "true" isUnderline = "false" isStrikeThrough = "false" / >

    < / textElement >

    < text > <! [CDATA [contract:]] > < / text >

    < / staticText >

    < isStretchWithOverflow textField = "true" >

    < reportElement x = "-1" y = "167" width = "749" height = "23" uuid = "5b7f29c9-0d01-4d44-90fa-e1ac26e3964c" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textFieldExpression > <! [CDATA [$F {DESCRIPTION}]] > < / textFieldExpression >

    < / textField >

    < staticText >

    < reportElement mode = "Opaque" x = "-1" y = "147" width = "749" height = "20" backcolor = "#FAF7F7" uuid = "af600e87-6b77-4d25-bc97-9f717729b7e8" / >

    <>box

    < pen lineWidth = "1.0" / >

    < topPen lineWidth = "1.0" / >

    < leftPen lineWidth = "1.0" / >

    < bottomPen lineWidth = "1.0" / >

    < rightPen lineWidth = "1.0" / >

    < / box >

    < textElement >

    < font size = "10" isBold = "true" / >

    < / textElement >

    < text > <! [CDATA [Nature and necessity of the work (if it is necessary, add plans, sketches or photographs):]] > < / text >

    < / staticText >

    < subreport >

    < reportElement positionType = "Float" x = "0" y = "194" width = "100" height = "37" uuid = "2d2d25ec-a272-4f28-948c-c9c62fbb90cb" / >

    < connectionExpression > <! [CDATA [$P {REPORT_CONNECTION}]] > < / connectionExpression >

    < subreportExpression > <! [CDATA [$P {SUBREPORT_DIR} + 'DMD CHANGEMENT_subreport1.jasper']] > < / subreportExpression >

    < / the subreport >

    < subreport >

    < reportElement positionType = stretchType "Float" = "RelativeToTallestObject" x = "2" y = "232" width = "100" height = "38" uuid = "a5a5e764-f57e-4370-b6c8-30e8d35ede7e" / >

    < connectionExpression > <! [CDATA [$P {REPORT_CONNECTION}]] > < / connectionExpression >

    < subreportExpression > <! [CDATA [$P {SUBREPORT_DIR} + 'DMD CHANGEMENT_subreport2.jasper']] > < / subreportExpression >

    < / the subreport >

    < subreport >

    < reportElement positionType = 'Float' x '2' = y = "272" width = "100" height = "37" uuid = "17893552-6183-46c6-9458-9740cf8b4797" / >

    < connectionExpression > <! [CDATA [$P {REPORT_CONNECTION}]] > < / connectionExpression >

    < subreportExpression > <! [CDATA [$P {SUBREPORT_DIR} + 'DMD CHANGEMENT_subreport3.jasper']] > < / subreportExpression >

    < / the subreport >

    < subreport >

    < reportElement positionType "Float" = "1" x = y = "311" width = "101" height = "40" uuid = "881e18e8-ac31-455b-bc39-df109790319f" / >

    < connectionExpression > <! [CDATA [$P {REPORT_CONNECTION}]] > < / connectionExpression >

    < subreportExpression > <! [CDATA [$P {SUBREPORT_DIR} + 'DMD CHANGEMENT_subreport4.jasper']] > < / subreportExpression >

    < / the subreport >

    < staticText >

    < reportElement XY = "2" = "0" width = "746" height = "20" uuid = "83604423-a377-4bac-a1da-1c07919b2dba" / >

    < textElement textAlignment = "Center" >

    < font size = isBold "14" = "true" / >

    < / textElement >

    < text > <! [CDATA [authorization change request]] > < / text >

    < / staticText >

    < / bands >

    < / details >

    < / jasperReport >

    ==========================================================================

    It will be very useful for me to make the PDF file.

    AND IF I have a similar example in the oracle workspace, it will be useful.

    Thank you

    Thank you, Christoph.

    But it does help me no more, because this is the first time I use ireport.

    Another Question:

    Should I create definitions for all subreports (4) in the reports_definitions table?

    and put the name that I create. in

    Thank you

  • How to create indexes on the ordered collection of XMLTYPE table?

    I use Oracle 11.2.0.2.

    Basically, my XML documents have a 3-level hierarchy:

    event

    + - action [1: n]

    + - param [1: n]

    I try to create indexes on the tables of the orderly collection, but cannot get the right syntax...

    I created a table with an XMLType object-relational column:

    CREATE TABLE T_C_RMP_MNTRNG_XML_FULL_IL4 (
      MESSAGE_ID NUMBER(22,0) NOT NULL ENABLE,
      XML_EVAL_ID NUMBER(22,0),
      VIN7 VARCHAR2(7 BYTE),
      FLEET_ID VARCHAR2(50 BYTE),
      CSC_SW_VERSION VARCHAR2(100 BYTE),
      RECEIVED DATE,
      XML_CONTENT SYS.XMLTYPE ,
      DWH_LM_TS_UTC DATE NOT NULL ENABLE,
      CONSTRAINT PK_C_RMP_MNTRNG_XML_FULL_IL4 PRIMARY KEY (MESSAGE_ID)
    ) NOLOGGING TABLESPACE CATALOG
    VARRAY "XML_CONTENT"."XMLDATA"."action" STORE AS TABLE "T_OR_MON_ACTION" (
      NOLOGGING TABLESPACE "CATALOG"
      VARRAY "param" STORE AS TABLE "T_OR_MON_ACTION_PARAM" (
      NOLOGGING TABLESPACE "CATALOG"
      ) RETURN AS LOCATOR
    ) RETURN AS LOCATOR
    XMLTYPE XML_CONTENT STORE AS OBJECT RELATIONAL XMLSCHEMA "http://mydomain.com/cs.xsd" ELEMENT "monitoring";
    
    
    
    
    

    I execute the SELECT statement:

    SELECT EVENT_ID, ACTION_SUB_ID, MESSAGE_ID, ACTION_TYPE, UNIXTS_TO_DATE(ACTION_TIMESTAMP) ACTION_TIMESTAMP
    FROM T_C_RMP_MNTRNG_XML_FULL_IL4, 
    XMLTABLE( 
      'for $i1 in /monitoring , 
      $i2 in $i1/action            
      return element r {              
      $i1/eventId,              
      $i2            
      }' 
      PASSING XML_CONTENT COLUMNS 
      EVENT_ID VARCHAR(40) PATH 'eventId', 
      ACTION_SUB_ID INTEGER PATH 'action/actionSubId', 
      ACTION_TYPE VARCHAR2(100) PATH 'action/type', 
      ACTION_TIMESTAMP NUMBER(13,0) PATH 'action/time' 
    ) T2 
    WHERE ( 
      EVENT_ID IS NOT NULL AND ACTION_SUB_ID IS NOT NULL 
    )
    
    
    
    
    

    The plan of the explain command looks like this (sorry, don't know how to get it formatted any 'eye-team'):

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

    | ID | Operation | Name                        | Lines | Bytes | TempSpc | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                             |  1609K |  6316M |       |  6110K (1) | 20:22:11 |

    |*  1 |  HASH JOIN |                             |  1609K |  6316M |   111 M |  6110K (1) | 20:22:11 |

    |   2.   TABLE ACCESS FULL | T_C_RMP_MNTRNG_XML_FULL_IL4 |   582K |   104 M |       |  5241 (1) | 00:01:03 |

    |*  3 |   TABLE ACCESS FULL | T_OR_MON_ACTION |    32 M |   117G |       |   105K (2) | 00:21:08 |

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

    Information of predicates (identified by the operation identity card):

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

    1 - access ("NESTED_TABLE_ID"= "T_C_RMP_MNTRNG_XML_FULL_IL4"." ("SYS_NC0001300014$")

    filter (CAST (SYS_XQ_UPKXML2SQL (SYS_XQEXVAL (SYS_XQEXTRACT ((SYS_XMLGEN ("T_C_RMP_MNTRN XMLCONCAT

    G_XML_FULL_IL4 ". "" $ SYS_NC00017 ", NULL, SYS_XMLCONV ("T_C_RMP_MNTRNG_XML_FULL_IL4". "SYS_NC00012$", 0.32,

    (('EC1EEF23FD023A27E04032A06D930A8D', 3, 3783, 1)), SYS_MAKEXML ('EC1EEF23FD023A27E04032A06D930A8D', 3780,

    'T_C_RMP_MNTRNG_XML_FULL_IL4 '. "' SYS_NC00008$ ', 'SYS_ALIAS_0 '. ((("' SYS_NC_ROWINFO$ ')),'/ ID ', NULL), 0,.

    0,20971520,0), 50.1, 2) AS VARCHAR (40)) IS NOT NULL)

    3 filter (CAST (TO_NUMBER (TO_CHAR ("SYS_ALIAS_0". "actionSubId")) AS INTEGER) IS NOT NULL) "

    Note

    -----

    -dynamic sample used for this survey (level = 2)

    -Construction detected no optimized XML (activate XMLOptimizationCheck for more information)

    The XML schema looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="2105639" oraxdb:schemaURL="http://mydomain.com/cs.xsd" oraxdb:schemaOwner="MYUSER" oraxdb:numProps="23">
      <xs:element name="monitoring" oraxdb:propNumber="3785" oraxdb:global="true" oraxdb:SQLName="monitoring" oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="monitoring757_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="monitoring755_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element maxOccurs="unbounded" ref="action" oraxdb:propNumber="3780" oraxdb:global="false" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="action756_COLL" oraxdb:SQLCollSchema="MYUSER"/>
            <xs:element ref="reservationType" oraxdb:propNumber="3781" oraxdb:global="false" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="softwareVersion" oraxdb:propNumber="3782" oraxdb:global="false" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="eventId" oraxdb:propNumber="3783" oraxdb:global="false" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="vin" oraxdb:propNumber="3784" oraxdb:global="false" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="action" oraxdb:propNumber="3790" oraxdb:global="true" oraxdb:SQLName="action" oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="action754_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="action752_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element ref="type" oraxdb:propNumber="3786" oraxdb:global="false" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element maxOccurs="unbounded" ref="param" oraxdb:propNumber="3787" oraxdb:global="false" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="param753_COLL" oraxdb:SQLCollSchema="MYUSER"/>
            <xs:element ref="actionSubId" oraxdb:propNumber="3788" oraxdb:global="false" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="time" oraxdb:propNumber="3789" oraxdb:global="false" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="type" type="xs:string" oraxdb:propNumber="3791" oraxdb:global="true" oraxdb:SQLName="type" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="type751_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="param" oraxdb:propNumber="3794" oraxdb:global="true" oraxdb:SQLName="param" oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER" oraxdb:memType="258" oraxdb:defaultTable="param750_TAB" oraxdb:defaultTableSchema="MYUSER">
        <xs:complexType oraxdb:SQLType="param749_T" oraxdb:SQLSchema="MYUSER">
          <xs:sequence>
            <xs:element minOccurs="0" ref="value" oraxdb:propNumber="3792" oraxdb:global="false" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
            <xs:element ref="key" oraxdb:propNumber="3793" oraxdb:global="false" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="value" type="xs:string" oraxdb:propNumber="3795" oraxdb:global="true" oraxdb:SQLName="value" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="value748_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="key" type="xs:string" oraxdb:propNumber="3796" oraxdb:global="true" oraxdb:SQLName="key" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="key747_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="actionSubId" type="xs:integer" oraxdb:propNumber="3797" oraxdb:global="true" oraxdb:SQLName="actionSubId" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="actionSubId746_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="time" type="xs:integer" oraxdb:propNumber="3798" oraxdb:global="true" oraxdb:SQLName="time" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:defaultTable="time745_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="reservationType" type="xs:string" oraxdb:propNumber="3799" oraxdb:global="true" oraxdb:SQLName="reservationType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="reservationType744_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="softwareVersion" type="xs:string" oraxdb:propNumber="3800" oraxdb:global="true" oraxdb:SQLName="softwareVersion" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="softwareVersion743_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="eventId" type="xs:string" oraxdb:propNumber="3801" oraxdb:global="true" oraxdb:SQLName="eventId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="eventId742_TAB" oraxdb:defaultTableSchema="MYUSER"/>
      <xs:element name="vin" type="xs:string" oraxdb:propNumber="3802" oraxdb:global="true" oraxdb:SQLName="vin" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:defaultTable="vin741_TAB" oraxdb:defaultTableSchema="MYUSER"/>
    </xs:schema>
    
    
    
    
    

    How can I create an index on these tables of the ordered collection to improve performance?

    I found the example at http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb_rewrite.htm#ADXDB5859 but am not able to apply to this particular case...

    Thank you in advance...

    If the schema is not annotated and XS: Integer and XS: String are mapped to types of data NUMBER and VARCHAR2 (4000), so you must use in your query to avoid typecasting unnecessary operations.

    You must also use XMLTABLEs chained when accessing a parent/child instead of a FLWOR expression relationship, otherwise the CBO cannot rewrite the XQuery query correctly (maybe it's fixed in the latest version).

    If you make these changes, the plan should show the cleaner predicates:

    SQL > SELECT EVENT_ID, MESSAGE_ID, ACTION_TYPE, ACTION_SUB_ID, ACTION_TIMESTAMP

    2 FROM test_table

    3 XMLTABLE ('/ monitoring ')

    4 COLUMNS XML_CONTENT OF PASSAGE

    5 WAY of VARCHAR2 (4000) EVENT_ID "ID."

    6 actions for XMLTYPE PATH 'action '.

    (7) T1,

    8 XMLTABLE ('/ action')

    Shares of PASSAGE 9 COLUMNS

    NUMBER of ACTION_SUB_ID 10 PATH "actionSubId."

    11 PATH of VARCHAR2 (4000) ACTION_TYPE "type."

    12 WAY of NUMBER ACTION_TIMESTAMP 'time '.

    (13) T2

    14 WHERE EVENT_ID IS NOT NULL

    15 AND ACTION_SUB_ID IS NOT NULL

    16;

    Execution plan

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

    Hash value of plan: 1763884463

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

    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |                 |   109.   220K |     6 (17). 00:00:01 |

    |   1.  THE MERGE JOIN.                 |   109.   220K |     6 (17). 00:00:01 |

    |*  2 |   TABLE ACCESS BY INDEX ROWID | TEST_TABLE |    11.   352.     2 (0) | 00:00:01 |

    |   3.    INDEX SCAN FULL | SYS_C007567 |    11.       |     1 (0) | 00:00:01 |

    |*  4 |   JOIN TYPE.                 |   109.   216K |     4 (25) | 00:00:01 |

    |*  5 |    TABLE ACCESS FULL | T_OR_MON_ACTION |   106 S 216K |     3 (0) | 00:00:01 |

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

    Information of predicates (identified by the operation identity card):

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

    2 - filter("TEST_TABLE".") (' SYS_NC00012$ ' IS NOT NULL)

    4 - access("SYS_ALIAS_0".") NESTED_TABLE_ID "=" TABLE_TEST. " ("' SYS_NC0000800009$ ')

    filter ("SYS_ALIAS_0". "NESTED_TABLE_ID"="TABLE_TEST" "." " ("SYS_NC0000800009$")

    5 - filter("SYS_ALIAS_0"." actionSubId» IS NOT NULL)

    Note

    -----

    -dynamic sample used for this survey (level = 2)

    Now, if it is still necessary, everything boils down to choosing a technique for index NULL values:

    -composite index with a column not zero or constant

    -FBI

    -bitmap image

    Choose the one that best fits your data, the selectivity and activity on the tables.

  • The role of the auditor of the ApEx

    Hi all

    I want some expert views on my understanding

    As far as I understand it, mod_plsql is responsible for generating outputs html XML or OHA http server presents to the user.

    Now, when we use the earpiece of the ApEx, we are is more with mod_plsql so I guess that the ApEx listener only sends queries to the database. The database responds with the result and the listener then generates the page html out of it and sends it to the user. So as far as I understand, with the listener configuration, owa packages are no longer used.

    Please correct me if I'm wrong

    Thank you

    Hello

    I think we're getting off topic now, because new questions about simply WLS/OHS, no APEX earphone...
    In any case, I'll try to give you an answer here.

    http://www.Oracle.com/technetwork/middleware/IAS/index-091236.html said that OSH is that a component of Weblogic, but https://blogs.oracle.com/cloudappfoundation/entry/oracle_weblogic_server_12c_launch said that HTTP of Oracle 11 g server is certified with WebLogic Server 12 c and the PLSQL gateway will work this way.

    It can be a little confusing, but your quote is slightly incorrect: OSH 11 g is a component of the BCI, doesn't not part of Weblogic. WebLogic itself is another OFM component, and you can combine the two (i.e. use OSH as a WLS HTTP listener). The second paper concerns just WLS 12 c, not a full suite of middleware as BCI. It states that you can (still) use SST 11 g as for WLS 12 c HTTP listener.

    I guess this being "certified with WebLogic Server 12 c" means that we can use the plugin SST if we use PLSQL gateway. My guess is correct?

    Yes.

    If so, then the question is, why can't we use the gateway PL SQL of OSH in weblogic. If there is already a SST in weblogic while made the plugin?

    As I mentioned earlier, you can still use mod_plsql (PL/SQL gateway) on OSH in front of WLS. ESO plugin for WLS is for the configuration of OHS, etc... I begin to think that you've involved APEX listener with this plug-in of OSH for WLS. See the corresponding documentation [url http://docs.oracle.com/cd/E14571_01/web.1111/e16435/oracle.htm#CIABDFBJ] for WLS Plug-Ins for more information on plug in OSH.
    Listener of the APEX is an alternative to mod_plsql, for example if you do not have or do not want an OHS before your JEE Server (be it WLS or other).

    -Udo

Maybe you are looking for