XML DB capability comparison 91 & 10g

Can someone let me know whether a document/thread/support document exists which shows a comparison of capability "on the tin" between 9i and 10g please?
Thanks
Dave

Most of the time, the documents on OTN have a "What's new in...(oracle version number)" For instance in the Oracle database SQL Reference 10g Release 2"Guide (http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/wnsql.htm#sthref11). Some summeries are collected by enthousiast like on http://www.orafaq.com (differences in init.ora parameters). As far as I know there is not a "complete" summery on the specific context "XMLDB", or at least i have not seen it yet. On itself this is almost to much (and overkill) to summerize this. Most of it is in a short form available like in the Oracle® Database New Features Guide
10g Release 2 (10.2) --> http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm.
Work through this and then go back in time ;-) (10gR1--> 9.2 --> 9)

Similar Messages

  • How to edit an XML format report in Report 10G

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

    Hi
    Please tell me how to edit an XML format report in Report 10G .
    Regards
    Deepak Gupta
    Edited by: user12299081 on Sep 6, 2010 10:19 PM

  • Did JHeadstart capable to convert 10g forms to both 11g & 10g  ADF Faces?

    We would like to purchase JHeadstart for JDeveloper 10.1.3.3 to Generator 10g Forms to ADF Faces. this version of JHeadstart capable to convert 10g forms to 10g ADF Faces. But I want a universal JHeadstart ADF Faces Generator that will capable to convert 10g forms to both 11g & 10g ADF Faces. Please help me by your valuable suggestion/consultancy.

    Try asking on the JHeadstart forum:
    JHeadstart
    AFAIK, JHeadstart 11g is still not out.

  • Did JHeadstart 11g capable to convert 10g forms to 11g  ADF Faces?

    We would like to purchase JHeadstart. We are using Oracle 10g Database , Forms & Report. Ours goal is to convert 10g forms to 11g ADF Faces. Which version of JHeadstart could capable to convert 10g Forms to 11g ADF Faces Directly? Need yours valuable suggestion/consultancy.

    Shahed,
    Thanks for your interest in Oracle JHeadstart. You should use Oracle JHeadstart 11g. You can buy the software through your local Oracle Consulting contact. If you do not have a contact please contact [email protected] and we will provide the right contact details. A good way to get a project like this started is through the Forms2ADF assessment service. You can read more about it in the factsheet http://www.oracle.com/technology/products/jheadstart/OracleForms2ADFAssessment.pdf.
    Regards,
    Ton
    Oracle JHeadstart Team

  • Creating XML file via sql in 10g database

    Hi
    I am using an Oracle 10g database and via a procedure that is called from Forms 10g, I want to output data in XML format so that this file can be fed into an accounting system that uses XML.
    How do I go about doing this?

    How do I go about doing this?The most flexible way is via SQL/XML publishing functions.
    And use DBMS_XSLPROCESSOR.CLOB2FILE to write the result to a file in a single call :
    DECLARE
      xmlresult      clob;
    BEGIN
      select xmlelement("Departments",
               xmlagg(
                 xmlelement("Department",
                   xmlattributes(
                     d.deptno as "id"
                   , d.dname as "name"
                 , xmlelement("Employees",
                     xmlagg(
                       xmlelement("Employee",
                         xmlattributes(e.empno as "id")
                       , xmlforest(
                           e.ename as "Name"
                         , e.job as "Job"
                         , e.mgr as "ManagerId"
                       ) order by e.empno
                 ) order by d.deptno
             ).getclobval()
      into xmlresult    
      from scott.dept d
           join scott.emp e on e.deptno = d.deptno
      group by d.deptno, d.dname
      dbms_xslprocessor.clob2file(xmlresult, 'TEST_DIR', 'departments.xml');
    END;
    /Output : departments.xml in Oracle directory TEST_DIR :
    <Departments>
      <Department id="10" name="ACCOUNTING">
        <Employees>
          <Employee id="7782">
            <Name>CLARK</Name>
            <Job>MANAGER</Job>
            <ManagerId>7839</ManagerId>
          </Employee>
          <Employee id="7839">
            <Name>KING</Name>
            <Job>PRESIDENT</Job>
          </Employee>
          <Employee id="7934">
            <Name>MILLER</Name>
            <Job>CLERK</Job>
            <ManagerId>7782</ManagerId>
          </Employee>
        </Employees>
      </Department>
      <Department id="20" name="RESEARCH">
        <Employees>
          <Employee id="7369">
            <Name>SMITH</Name>
            <Job>CLERK</Job>
            <ManagerId>7902</ManagerId>
          </Employee>
          <Employee id="7566">
            <Name>JONES</Name>
            <Job>MANAGER</Job>
            <ManagerId>7839</ManagerId>
          </Employee>
          <Employee id="7902">
            <Name>FORD</Name>
            <Job>ANALYST</Job>
            <ManagerId>7566</ManagerId>
          </Employee>
        </Employees>
      </Department>
      <Department id="30" name="SALES">
        <Employees>
          <Employee id="7499">
            <Name>ALLEN</Name>
            <Job>SALESMAN</Job>
            <ManagerId>7698</ManagerId>
          </Employee>
          <Employee id="7521">
            <Name>WARD</Name>
            <Job>SALESMAN</Job>
            <ManagerId>7698</ManagerId>
          </Employee>
          <Employee id="7654">
            <Name>MARTIN</Name>
            <Job>SALESMAN</Job>
            <ManagerId>7698</ManagerId>
          </Employee>
          <Employee id="7698">
            <Name>BLAKE</Name>
            <Job>MANAGER</Job>
            <ManagerId>7839</ManagerId>
          </Employee>
          <Employee id="7844">
            <Name>TURNER</Name>
            <Job>SALESMAN</Job>
            <ManagerId>7698</ManagerId>
          </Employee>
          <Employee id="7900">
            <Name>JAMES</Name>
            <Job>CLERK</Job>
            <ManagerId>7698</ManagerId>
          </Employee>
        </Employees>
      </Department>
    </Departments>(formatted for display purpose)

  • How to Insert data from an XML file into an Oracle 10g table

    Hello,
    Please can you help me as I have hit a brick wall with this problem.
    We are running version 10g Oracle and we will start receiving XML files with employee data that needs loading into a table, this is the XML file:
    <?xml version="1.0"?>
    <RECRUITS>
    <RECRUIT>
    <FIRST_NAME>Gordon</FIRST_NAME>
    <LAST_NAME>Brown</LAST_NAME>
    <SHORT_NAME>GORDONBROWN</SHORT_NAME>
    <APP_NO>00002</APP_NO>
    <STATUS>M</STATUS>
    <DATE_FROM>21-JUL-2006</DATE_FROM>
    <RESOURCE_TYPE>P</RESOURCE_TYPE>
    <TITLE>Mr</TITLE>
    <DATE_OF_BIRTH>28-DEC-1983</DATE_OF_BIRTH>
    <SOCIAL_SEC>AB128456A</SOCIAL_SEC>
    <PARTTIME_PCT>1</PARTTIME_PCT>
    <SEX>M</SEX>
    <ADDRESS_TYPE>1</ADDRESS_TYPE>
    <ADDRESS>A HOUSE SOMEWHERE HERE</ADDRESS>
    <ZIP_CODE>PE3 LLL</ZIP_CODE>
    <PLACE>BOROUGH</PLACE>
    <COUNTRY_CODE>UK</COUNTRY_CODE>
    <PROVINCE>UK</PROVINCE>
    <EMAIL>[email protected]</EMAIL>
    </RECRUIT>
    (FYI - there may be more than 1 employee in each file so all of the above will be repeated X amount of times)
    </RECRUITS>
    To make things simple we have created a table which mirrors the XML file completely to load the data into, the SQL i have used is thus:
    CREATE TABLE RECRUITMENT
    FIRST_NAME VARCHAR2(30),
    LAST_NAME VARCHAR2(30),
    SHORT_NAME VARCHAR2(30),
    APP_NO NUMBER,
    STATUS VARCHAR2(1),
    DATE_FROM DATE,
    RESOURCE_TYPE VARCHAR2(1),
    TITLE VARCHAR2(4),
    DATE_OF_BIRTH DATE,
    SOCIAL_SEC VARCHAR2(9),
    PARTTIME_PCT NUMBER,
    SEX VARCHAR2(1),
    ADDRESS_TYPE VARCHAR2(1),
    ADDRESS VARCHAR2(30),
    ZIP_CODE VARCHAR2(8),
    PLACE VARCHAR2(10),
    PROVINCE VARCHAR2(3),
    EMAIL VARCHAR2(20)
    Every method we try from the numerous documents and so called "user guides" have failed, please can somebody show me the PL/SQL i need to get this files data into the above table?
    We need to be able to do this purely through SQL*PLUS as we hope - if we ever get it working manually to create a procuedure that will encapsulate everything so it can be run over and over again.
    The XML file is sitting in the XMLDIR and is called REC.XML.
    Please help : (

    Hi, I have got some material for inserting data into oracle table from xml file, this might help you.
    Create XML Document Table
    create table XML_DOCUMENT_TABLE
    FILENAME varchar2(64),
    XML_DOCUMENT XMLTYPE
    (This will be as per your record details).
    Inserting record to Oracle Table
    declare
    XML_TEXT CLOB := '<smsnotification>
                   <messageid> 256427844 </messageid>
              <protocolid> CO0NPS2KHQ </protocolid>
              <notifiedon> 1156123007416 </notifiedon>
              <status> 3PBI: Invalid </status>
    <additionalinfo> Customer account not active </additionalinfo>
    <carrierid> 1175 </carrierid>
    </smsnotification>';
    begin
    insert into XML_DOCUMENT_TABLE values ('Receipt.xml',XMLTYPE(XML_TEXT));
    end;
    Select Statement
    select extractValue(XML_DOCUMENT,'/smsnotification/messageid') Messageid,
    extractValue(XML_DOCUMENT,'/smsnotification/status') Status,
    extractValue(XML_DOCUMENT,'/smsnotification/carrierid') CarrierID
    from XML_DOCUMENT_TABLE;

  • Loading XML file using sql*loader (10g)

    Hi Everyone....
    I have a major problem. I have a 10g database and I need to use sql loader to load a large XML file into the database. This file contains records for many, many customers. This will be done several times and the number of records will vary. I want to use sql loader and load to a staging table, BUT SPLIT THE RECORDS OUT and add a sequence. I am having 2 problems.
    In the 10g documentation, when you want to split the records you use the BEGINDATA clause and indicate something (like a 0) for each instance of a record. Well my first file has 3,722 records in it. How do I know the number of records in each XML file?
    The second problem is that because this is XML, I thought that I could use ENCLOSED BY. But the start tag has an attribute /counter in it, sql*loader doesnt recognize the starting tag. (i.e.: start tag is: </CustomerRec number=1>
    end tag is: </CustomerRec> )
    So, I used TERMINATED BY '</CustomerRec>'. This will split out the records, but it will NOT include the ending tag of </CustomerRec> and when I use extract, I receive an XML parsing error.
    I have tried to get the ending tag using CONTINUEIF and SKIP. But those options are for "records" and not lines.
    Does anyone have any ideas for the 2 problems above. I am at my wits end and I need to finish this ASAP. Any help would be appreciated.
    Thank you!

    Sorry.... here is an example of what my control file looks like. At the end, I have 92 "0", but remember, I have 3722 records in this first file.
    LOAD DATA (SKIP 1)
    INFILE *
    INTO TABLE RETURN_DATA_STG
    TRUNCATE
    XMLType(xmldata)
    FIELDS
    (fill FILLER CHAR(1),
    loadseq SEQUENCE(MAX,1),
    xmldata LOBFILE (CONSTANT F001AB.XML)
    TERMINATED BY '</ExtractObject>'
    ------ ":xmldata||'</ExtractObject>'"
    BEGINDATA
    0
    0
    0
    0
    0
    0

  • UTF support in XML DB at Oracle Database 10g Express Edition Beta 2

    hello everybidy! ;)
    I use Oracle Database 10g Express Edition Beta 2 Release for Microsoft Windows (dated 16-Nov-05) and place into XML DB XSLT-file (UTF8-encoded and contained some Cyrillic chars) and 10g XP can`t apply such transformation but when i replace cyrillic chars with latin chars - everything work just fine. Is it known bug? Can it be fixed by some reconfiguration or moving to Linux version of 10g XP? When will new release?
    truly yours,
    Slav
    p.s. here some oracle forum testing &#1061;&#1040;&#1056;&#1045;=XAPE, PAMA=&#1056;&#1040;&#1052;&#1040; :)

    Hello, Bhagat.
    I don't understand why you would install HTMLDB with apexins.sql (it's a procedure to install HTMLDB for 9i and 10G EE/SE not XE)
    because HTMLDB (APEX) is already install with Oracle Express Edition. Not need
    to install it with apexins.sql
    Mike

  • Problem with XML doc inserting into oracle 10g

    Hi Guys, I have some knowledge in oracle 10g.
    We are doing an application, when we were trying to insert XML document (I was trying to insert XML as un-structured way.) into oracle 10g as a datatype called XMLTYPE column.
    My XML is having namespace attributes(Target namespaces) in that. So when i was trying to insert that into database , it is giving some error ,and not letting me to push that into database.
    So Can any body please help me in this. My constraint is that I have to insert the document as un-structured way.
    You help would be appriciated.
    Vish
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405
    Message was edited by:
    user567405

    , it is giving some error Hmmm, six attempts and you still didn't manage to tell us what the actuall error message and number was. Oracle has thousands of error messages. If you would like us to help you, make it easy for us to figure out what's going on. Don't make us guess.
    Regards, APC

  • Create a large XML extract from relational tables - 10g

    The Oracle 10g documentation recommends using the various SQL functions such as XMLAGG,XMLELEMENT or DBMS_XMLGEN under chapter "16 Generating XML Data from the Database" for generating a XML extract file. The DBMS_XMLDOM seems like a useful structured package to create a XML formatted extract. Any idea why Oracle does not recommend the use of XMLDOM API ? Are there performance issues or likely de-support ?
    Whats the best way to produce a large XML extract?
    Thanks.

    mdrake wrote:
    No reason not to use it. It just tends to require a lot more coding than the other methods. Underneath the covers they all map into the same code-line. In general, to generate a given XML document you wlll write far fewer lines of code using the SQL/XML operators. Less Code written = less code to maintan = faster time to market.Less code to parse...?

  • Web.xml problem in Enterprise Manager 10g

    I got an error while deploying to Enterprise Manager 10g
    My platform: Windows XP
    OC4J 9.0.4
    Enterprise Manager 10g
    And I even have the web.xml in the correct directory. i.e
    cpd.ear
    ./META-INF/application.xml
    ./cpd-ejb.jar/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/classes
    The error I get while deploying on a Enterprise Manager 10g is:
    Invalid J2EE application file specified - Jar file: :\WINNT\TEMP\jar47575.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Incidently the *.ear file built by my fellow's machine is deploying perfectly. I've compared the directories n useful files of both the *.ears down to the very last bit n they are the same.
    I can imagine that guys with only high IQ can solve this mystery

    The above message is a duplicate of another message by Sim.
    web.xml problem in Enterprise Manager 10g

  • About xml and null values in 10g

    Hi, I have an UCM GetFile webservice component wich receives 4 arguments, two of them are null values (rendition and extraPops), and the xml request generated by obpm is:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
      <rendition/>
      <extraProps/>
    </GetFileByName>The problem is: On UCM web service, an empty tag like <rendition/> is treated like a "empty string" value, instead of a null value, and then the response i get isn't the expected.
    What I want do to is change this behavior, and when I put null values in requests, the obpm should not write those tags. Is that possible?
    Should be like that:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
    </GetFileByName>Thanks!

    Hi,
    I have question regarding aggregates. It's possible to read data from BW aggregates? We have webi reports on a SAP BW multi cube and we would like to optimize retriving query.
    >> Because you are using the BW Query as the source all the items that you have done so far in terms of aggregation, indexing, ... is all valid and there are no specific steps required to leverage it with Web Intelligence. Make sure the aggregates are "correct" meansing that they do reflect what you are asking for in the Web Intelligence query panel
    How can we filter in webi query null (#) values. If we create condition that some variabe is diffrent from # we still get null (#) values in report.
    >> You should be able to create a variable. in case you tried that already could you be more specific ?
    thanks
    Ingo

  • Error While Loading XMl Doc into Oracle Database 10g

    Hi all,
    I have a task that , I have to make a utillity by which we can load XML Doc into a Table. While searching on Internet i found following Procedure on ASK Tom
    CREATE OR REPLACE
    procedure insert_xml_emps(
    p_directory in varchar2, p_filename in varchar2, vtableName in varchar2 )
    as
    v_filelocator bfile;
    v_cloblocator clob;
    l_ctx dbms_xmlsave.ctxType;
    l_rows number;
    begin
    dbms_lob.createtemporary(v_cloblocator,true);
    v_filelocator := bfilename(p_directory, p_filename);
    dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
    DBMS_LOB.LOADFROMFILE(v_cloblocator, v_filelocator,
    dbms_lob.getlength(v_filelocator));
    l_ctx := dbms_xmlsave.newContext(vTableName);
    l_rows := dbms_xmlsave.insertxml(l_ctx,v_cloblocator);
    dbms_xmlsave.closeContext(l_ctx);
    dbms_output.put_line(l_rows || ' rows inserted...');
    dbms_lob.close(v_filelocator);
    DBMS_LOB.FREETEMPORARY(v_cloblocator);
    end ;
    when i try to run this procedure
    BEGIN
    insert_xml_emps('XML_LOAD','load.xml','IBSCOLYTD');
    END;
    it gaves me following Error
    ORA-29532: java call terminated by uncaught java exception : Oracle.xml.sql.OracleXMLSQLException:No
    rows to modify-- the row enclosing tag missing. Specify the correct row enclosing tag.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 115
    ORA-06512: at "EXT_TEST.INSERT_XML_EMPS", line 18
    ORA-06512: at line 2
    Can anyone describe me this error
    Thanks.
    Best Regards.

    SQL> /* Creating Your table */
    SQL> CREATE TABLE IBSCOLYTD
      2  (
      3  ACTNOI VARCHAR2 (8),
      4  MEMONOI NUMBER (7,0),
      5  MEMODTEI DATE,
      6  AMOUNTI NUMBER (8,0),
      7  BRCDSI NUMBER (4,0),
      8  TYPEI NUMBER (4,0),
      9  TRANSMONI NUMBER (6,0)
    10  );
    Table created.
    SQL> CREATE OR REPLACE PROCEDURE insert_xml_emps(p_directory in varchar2,
      2                                              p_filename  in varchar2,
      3                                              vtableName  in varchar2) as
      4    v_filelocator    BFILE;
      5    v_cloblocator    CLOB;
      6    l_ctx            DBMS_XMLSTORE.CTXTYPE;
      7    l_rows           NUMBER;
      8    v_amount_to_load NUMBER;
      9    dest_offset      NUMBER := 1;
    10    src_offset       NUMBER := 1;
    11    lang_context     NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    12    warning          NUMBER;
    13  BEGIN
    14    dbms_lob.createtemporary(v_cloblocator, true);
    15    v_filelocator := bfilename(p_directory, p_filename);
    16    dbms_lob.open(v_filelocator, dbms_lob.file_readonly);
    17    v_amount_to_load := DBMS_LOB.getlength(v_filelocator);
    18    ---  ***This line is changed*** ---
    19    DBMS_LOB.LOADCLOBFROMFILE(v_cloblocator,
    20                              v_filelocator,
    21                              v_amount_to_load,
    22                              dest_offset,
    23                              src_offset,
    24                              0,
    25                              lang_context,
    26                              warning);
    27 
    28    l_ctx := DBMS_XMLSTORE.newContext(vTableName);
    29    DBMS_XMLSTORE.setRowTag(l_ctx, 'ROWSET');
    30    DBMS_XMLSTORE.setRowTag(l_ctx, 'IBSCOLYTD');
    31    -- clear the update settings
    32    DBMS_XMLStore.clearUpdateColumnList(l_ctx);
    33    -- set the columns to be updated as a list of values
    34    DBMS_XMLStore.setUpdateColumn(l_ctx, 'ACTNOI');
    35    DBMS_XMLStore.setUpdateColumn(l_ctx, 'MEMONOI');
    36    DBMS_XMLStore.setUpdatecolumn(l_ctx, 'MEMODTEI');
    37    DBMS_XMLStore.setUpdatecolumn(l_ctx, 'AMOUNTI');
    38    DBMS_XMLStore.setUpdatecolumn(l_ctx, 'BRCDSI');
    39    DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TYPEI');
    40    DBMS_XMLStore.setUpdatecolumn(l_ctx, 'TRANSMONI');
    41    -- Now insert the doc.
    42    l_rows := DBMS_XMLSTORE.insertxml(l_ctx, v_cloblocator);
    43    DBMS_XMLSTORE.closeContext(l_ctx);
    44    dbms_output.put_line(l_rows || ' rows inserted...');
    45    dbms_lob.close(v_filelocator);
    46    DBMS_LOB.FREETEMPORARY(v_cloblocator);
    47  END;
    48  /
    Procedure created.
    SQL> BEGIN
      2  insert_xml_emps('TEST_DIR','load.xml','IBSCOLYTD');
      3  END;
      4  /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM ibscolytd;
    ACTNOI      MEMONOI MEMODTEI     AMOUNTI     BRCDSI      TYPEI  TRANSMONI
    28004125     251942 05-SEP-92        400        513          1          0
    28004125     251943 04-OCT-92        400        513          1          0
    SQL>

  • How to run an XML Report from Oracle Forms 10G

    Hello Friends,
    I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
    I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
    All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
    Can this be achieved?
    If so, Kindly advise as this is an immediate work.
    Regards,
    Badrul.

    Hi,
    If I am not wrong the XML publisher is same as BI publisher ...
    There is one document which explains how to integrate using web service
    You want to check this
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    or you can also try web.show_document ..

  • XML Editor capable of decoding iTunes "Location" key?

    I'm looking for an XML editor that will allow me to select all entries in the iTunes Music Library XML file with the same Location key, and search and replace those files so all of them become part of the same playlist folder. This is using iTunes 8.2.1 on Mac OS X 10.6. Would this be possible with any XML editor that anyone is aware of?
    Message was edited by: a brody

    http://discussions.apple.com/thread.jspa?threadID=2201259&tstart=0 solved the problem. Thank you.

Maybe you are looking for