XML load and retrive from oracle.

Hi
I am able to validate and load the xml file to xmltype column of database table. how can i get the inforation of each node sepeately (row wise) from sql query.
I tried following query but giving me error.
<?xml version="1.0" encoding="utf-8" ?>
<caieers>
     <caieers_header>
          <file_name>eers000252.xml</file_name>
          <business_unit>CAI Common Services</business_unit>
          <sson_id>255</sson_id>
          <date>2006-12-30</date>
     </caieers_header>
     <caieers_entitlements>
          <caieers_data>
               <soeid>in12345</soeid>
               <role_code>read_only</role_code>
               <role_desc>Read-only access to reports</role_desc>
               <as_of_date>2006-12-30</as_of_date>
          </caieers_data>
          <caieers_data>
               <soeid>pp12345</soeid>
               <role_code>Admin</role_code>
               <as_of_date>2006-12-30</as_of_date>
          </caieers_data>
          <caieers_data>
               <soeid>ns12345</soeid>
               <role_code>read_write</role_code>
               <role_desc>Can update data</role_desc>
               <as_of_date>2006-12-30</as_of_date>
          </caieers_data>
     </caieers_entitlements>
</caieers>
SELECT p.XML_DOC.extractvalue('/caieers/caieers_header/file_name/text()').getstringval() as File_name,
p.XML_DOC.extract('/caieers/caieers_header/business_unit/text()').getstringval() as Business_unit,
p.XML_DOC.extract('/caieers/caieers_header/sson_id/text()').getstringval() as sson_id,
p.XML_DOC.extract('/caieers/caieers_header/date/text()').getstringval() as Dateoffile,
p.XML_DOC.extract('/caieers/caieers_entitlements/caieers_data//soeid/text()').getstringval() as soeid,
p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//role_code/text()').getstringval() as role_code,
p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//role_desc/text()').getstringval() as role_desc,
p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//as_of_date/text()').getstringval() as asofdate
FROM test p,
table(xmlsequence(extract(value(mat),'/caieers/caieers_entitlements/caieers_data'))) ctb
ERROR at line 10:
ORA-00904: "MAT": invalid identifier
Aslo if anybody help me to find best way to load this file in relational table (at present it was loaded as xmltype column)
Thanks a lot
Regards
Raju

Try this example
I"ve modified the XML Schema to automatically create the table during schema registration.
SQL>
SQL>
SQL> var schemaURL varchar2(256)
SQL> var schemaPath varchar2(256)
SQL> --
SQL> begin
  2    :schemaURL := 'http://www.w3.org/2001/XMLSchema/CAIEERS.xsd';
  3    :schemaPath := '/public/CAIEERS.xsd';
  4  end;
  5  /
PL/SQL procedure successfully completed.
SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
  2  /
Call completed.
SQL> declare
  2    res boolean;
  3    xmlSchema xmlType := xmlType(
  4  '<?xml version="1.0" encoding="utf-8"?>
  5  <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
  6     <xsd:element name="caieers" type="caieers_type" xdb:defaultTable="caieers_tb"/>
  7     <xsd:complexType name="caieers_type">
  8             <xsd:sequence>
  9                     <xsd:element name="caieers_header" type="caieers_header_type"/>
10                     <xsd:element name="caieers_entitlements" type="caieers_entitlements_type"/>
11             </xsd:sequence>
12     </xsd:complexType>
13     <xsd:complexType name="caieers_entitlements_type">
14             <xsd:sequence>
15                     <xsd:element name="caieers_data" type="caieers_data_type" maxOccurs="unbounded"/>
16             </xsd:sequence>
17     </xsd:complexType>
18     <xsd:complexType name="caieers_header_type">
19             <xsd:sequence>
20                     <xsd:element name="file_name" type="xsd:string"/>
21                     <xsd:element name="business_unit" type="xsd:string"/>
22                     <xsd:element name="sson_id" type="xsd:integer"/>
23                     <xsd:element name="date" type="xsd:date"/>
24             </xsd:sequence>
25     </xsd:complexType>
26     <xsd:complexType name="caieers_data_type">
27             <xsd:sequence>
28                     <xsd:element name="soeid" type="soeid_type"/>
29                     <xsd:element name="role_code" type="role_code_type"/>
30                     <xsd:element name="role_desc" type="role_desc_type" minOccurs="0"/>
31                     <xsd:element name="as_of_date" type="xsd:date"/>
32             </xsd:sequence>
33     </xsd:complexType>
34     <xsd:simpleType name="soeid_type">
35             <xsd:restriction base="xsd:string">
36                     <xsd:pattern value="[a-zA-Z]{2}\d{5}"/>
37             </xsd:restriction>
38     </xsd:simpleType>
39     <xsd:simpleType name="role_code_type">
40             <xsd:restriction base="xsd:string">
41                     <xsd:maxLength value="30"/>
42             </xsd:restriction>
43     </xsd:simpleType>
44     <xsd:simpleType name="role_desc_type">
45             <xsd:restriction base="xsd:string">
46                     <xsd:maxLength value="255"/>
47             </xsd:restriction>
48     </xsd:simpleType>
49  </xsd:schema>
50  ');
51  begin
52    if (dbms_xdb.existsResource(:schemaPath)) then
53      dbms_xdb.deleteResource(:schemaPath);
54    end if;
55    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
56  end;
57  /
PL/SQL procedure successfully completed.
SQL> begin
  2    dbms_xmlschema.registerSchema
  3    (
  4      :schemaURL,
  5      xdbURIType(:schemaPath).getClob(),
  6      TRUE,TRUE,FALSE,TRUE
  7    );
  8  end;
  9  /
PL/SQL procedure successfully completed.
SQL> declare
  2    xmldoc xmltype := xmltype(
  3  '<?xml version="1.0" encoding="utf-8"?>
  4  <caieers>
  5     <caieers_header>
  6             <file_name>eers000252.xml</file_name>
  7             <business_unit>CAI Common Services</business_unit>
  8             <sson_id>255</sson_id>
  9             <date>2006-12-30</date>
10     </caieers_header>
11     <caieers_entitlements>
12             <caieers_data>
13                     <soeid>in12345</soeid>
14                     <role_code>read_only</role_code>
15                     <role_desc>Read-only access to reports</role_desc>
16                     <as_of_date>2006-12-30</as_of_date>
17             </caieers_data>
18             <caieers_data>
19                     <soeid>pp12345</soeid>
20                     <role_code>Admin</role_code>
21                     <as_of_date>2006-12-30</as_of_date>
22             </caieers_data>
23             <caieers_data>
24                     <soeid>ns12345</soeid>
25                     <role_code>read_write</role_code>
26                     <role_desc>Can update data</role_desc>
27                     <as_of_date>2006-12-30</as_of_date>
28             </caieers_data>
29     </caieers_entitlements>
30  </caieers>');
31  begin
32    xmldoc := xmldoc.createSchemaBasedXML(:schemaURL);
33    insert into "caieers_tb" values ( xmldoc );
34  end;
35  /
PL/SQL procedure successfully completed.
SQL> set autotrace on explain pages 0 lines 150 long 1000
SQL> --
SQL> select extractValue(value(p),'/caieers/caieers_header/file_name') FileName,
  2         extractValue(value(p),'/caieers/caieers_header/business_unit') Business_unit,
  3         extractValue(value(p),'/caieers/caieers_header/sson_id')  sson_id,
  4         extractValue(value(p),'/caieers/caieers_header/date')  Dateoffile,
  5         extractValue(value(ctb),'/caieers_data/soeid') soeid,
  6         extractValue(value(ctb),'/caieers_data/role_code') role_code,
  7         extractValue(value(ctb),'/caieers_data/role_desc') role_desc,
  8         extractValue(value(ctb),'/caieers_data/as_of_date') as asofdate
  9    FROM "caieers_tb" p,
10   table (xmlsequence(extract(value(p),'/caieers/caieers_entitlements/caieers_data'))) ctb
11  /
eers000252.xml
CAI Common Services
       255 30-DEC-06
in12345
read_only
Read-only access to reports
30-DEC-06
eers000252.xml
CAI Common Services
       255 30-DEC-06
pp12345
Admin
30-DEC-06
eers000252.xml
CAI Common Services
       255 30-DEC-06
ns12345
read_write
Can update data
30-DEC-06
Execution Plan
Plan hash value: 3549528997
| Id  | Operation          | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT   |                    |     3 | 19983 |   805   (1)| 00:00:10 |
|   1 |  NESTED LOOPS      |                    |     3 | 19983 |   805   (1)| 00:00:10 |
|*  2 |   TABLE ACCESS FULL| caieers_tb         |     1 |  4056 |     3   (0)| 00:00:01 |
|*  3 |   INDEX RANGE SCAN | SYS_IOT_TOP_379781 |     3 |  7815 |     1   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   2 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
              xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
              http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><rea
              d-properties/><read-contents/></privilege>'))=1)
   3 - access("NESTED_TABLE_ID"="caieers_tb"."SYS_NC0001900020$")
       filter("SYS_NC_TYPEID$" IS NOT NULL)
Note
   - dynamic sampling used for this statement
SQL>
SQL>
SQL>

Similar Messages

  • Making a call over HTTPS with LoadVars, XML.load(), and WebService - Yes or No?

    Hello, do LoadVars, XML.load(), or WebService support HTTPS-based endpoints, Yes or No?
    BACKGROUND
    ============
    I've been trying to get a LoadVars to actually make a call to an HTTPS endpoint. There is nothing in the documentation that says it can't. I know that there's also XML.load() and WebService class, but from the looks of it they don't do HTTPS.
    During my tests I have absolutely no issues with making calls to the same service over HTTP. When I change it to HTTPS I don't see HTTPStatus or even failures. Also, netstat on my server will show a connection being established with the endpoint when using HTTP but not when using HTTPS. I've also tried setting SSLVerifyCertificate to "false" in my Server.xml and after a restart of AMS it doesn't help, same symptom.
    I've also googled and looked through all Adobe forum posts that I can find:
    https://forums.adobe.com/message/4938426#4938426
    https://forums.adobe.com/thread/1661461
    https://forums.adobe.com/thread/782037
    https://forums.adobe.com/message/74981
    https://forums.adobe.com/message/5107735#5107735
    https://forums.adobe.com/message/7815#7815
    https://forums.adobe.com/message/53870#53870
    https://forums.adobe.com/message/87797#87797
    WebService Class - http://stackoverflow.com/questions/5619776/webservice-and-fms
    The best I found from the posts above is a non-commital answer from adobe staff at https://forums.adobe.com/message/4938426#4938426 and a 3rd party person saying that Webservice doesn't work at http://stackoverflow.com/questions/5619776/webservice-and-fms.
    All I need is an official supported/not-supported from the Adobe staff. Shouldn't be to hard after 5 years or so of ignoring the questions in the forum right?

    Adobe, please provide some details to your current and possibly potential customers, in at least one of the many unanswered posts about making HTTPS requests from AMS.
    P.S.
    realeyes_jun,
    RealEyes Media has been an inspiration to me for many years, and I would like to thank them for their efforts to better the media streaming community.
    Also, would it be possible to please release the source to REDbug?

  • Can I load and retrive

    Hi,
    Can I load and retrive images in the oracle table??
    and then display it to iternet explorer,if yes then provide me the details so I can use it.
    Thanks a lot...
    Alok Kumar .

    http://www.oracle.com/technology/sample_code/products/intermedia/htdocs/imedia_asp_sample/index.html
    is the ASP example....
    However, an alternative would be to use Apache web server, and the PL/SQL gateway (mod_plsql) in the public domain with the interMedia PL/SQL wizard to create an URL endpoint. The query parameter for the image would then be part of the URL that you could encode using ASP.
    http://www.oracle.com/technology/software/products/intermedia/htdocs/descriptions/imedia_code_wizard.html

  • Importing Reports and Forms from Oracle to Portals

    Hi,
    I have read somewhere that it is possible to import all ready created reports and forms from Oracle and view them as a Portlet in Portals. Is this actually possible and if so where do I begin??
    Could there be an issue with rights, this is all new to our DBA and we have only just got permission to publish forms created in Portals to the repository. Any ideas??

    941175
    Welcome to the forum. Please take a while to go through the FAQ to be found to the top right of the page.
    Your issue is more to do with batch files rather than Forms. The only relation with Forms, as I see it, is that you will be using HOST/CLIENT_HOST to start a batch file with the file name to be deployed as a parameter passed to it.
    You need to rewrite either a CMD batch file or a Powershell script to achieve what have set out to do.
    For CMD batch files look up http://www.robvanderwoude.com/battech.php , or any of the other excellent resources available on the internet.
    Regards,

  • Options of fetching mails from mail server into PI and also from oracle system

    hi All,
    Pls extend your help in looking out the possiblity of fetching mails from mail server into SAP PI
    and also from oracle system into PI ,earliest help would be appreciated.
    and also the types of sources for both the scenarios.
    Regards
    Vidya Sagar Manda

    Hi Vidya,
    you can use the email adapter to read/pick up email from mail box.
    and use JDBC adapter to read data from table of any database. Please refer the links given to your old thread
    Fetch Mails From MailServer using PI and integrate the message into BPM
    regards,
    Harish

  • Export tables and records from oracle 8i to oracle 10g

    hi,
    i had installed oracle 10g, but i want to export my tables and record from oracle 8i to oracle 10g.
    can you tell me

    Please have a look to Using Different Releases and Versions of Export in Utilities document.

  • How to read the data from XML file and insert into oracle DB

    Hi All,
    I have below require ment.
    I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
    Many Thanks.

    Sounds a lot like this question, only with less details.
    how to read data from XML  variable and insert into table variable
    We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us.  Plenty of examples abound on the forums that cover the topics you seek as well.

  • Problem with XML loading and xmlns

    I'm having a problem with loading an XML file that was created by Filemaker.  Filemaker will output an XML file using one of two different grammars.  One outputs in a mostly standard form that I can use with one glitch.  Flash CS4 AS3 seems to have a problem with the xmlns in one of the nodes.
    Specifically:
    <FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
    If I remove the xmlns="http://www.filemaker.com/fmpdsoresult" the file loads properly and I can access the various fields with no problem.  However, when I leave the xmlns=... in, it will trace out the XML properly but I can't access the fields using the code listed below.  This is driving me crazy!
    With the xmlns part in the XML file I get the following error when it tries to load the thumbnail files:
    TypeError: Error #1010: A term is undefined and has no properties.
    I need to have it so that the user can enter/edit data and simply output the XML file from Filemaker and then Flash will load up the unaltered XML file and show the info requested by the user.  That is to say I could have the user open the XML file in a word processing application and have them delete the xmlns..., but that is rather cumbersome and not very user friendly.
    I've tried every xml.ignore function I could find but it doesn't help.  Hopefully someone out there can help
    Thanks,
    -Mark-
    Partial XML:
    XML From Filemaker Export:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- This grammar has been deprecated - use FMPXMLRESULT instead -->
    <FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
      <ERRORCODE>0</ERRORCODE>
      <DATABASE>Sport.fp7</DATABASE>
      <LAYOUT></LAYOUT>
      <ROW MODID="1" RECORDID="1">
        <FirstName>Mark</FirstName>
        <LastName>Fowle</LastName>
        <Sport>Sailing</Sport>
        <Medal>None</Medal>
        <CourseOfStudy>Design</CourseOfStudy>
        <Year>1976-1978</Year>
        <HomeState>California</HomeState>
        <ImageName>93</ImageName>
      </ROW>
    </FMPDSORESULT>
    AS3 Code:
    import fl.containers.UILoader;
    var aPhoto:Array=new Array(ldPhoto_0,ldPhoto_1,ldPhoto_2,ldPhoto_3,ldPhoto_4,ldPhoto_5);
    var toSet:int=10;//time out set time
    var toTime:int=toSet;
    var photoPerPage:int=6;
    var fromPos:int=photoPerPage;
    var imgNum:Number;
    //var subjectURL:URLRequest=new URLRequest("testData_FM8.xml");
    var subjectURL:URLRequest=new URLRequest("Sports.xml");
    var xmlLoader:URLLoader=new URLLoader(subjectURL);
    xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
    var subjectXML:XML = new XML();
    subjectXML.ignoreWhitespace=true;
    subjectXML.ignoreComments=true;
    subjectXML.ignoreProcessingInstructions=true;
    function xmlLoaded(evt:Event):void {
        subjectXML=XML(xmlLoader.data);
        if (root.loaderInfo.bytesTotal==root.loaderInfo.bytesLoaded) {
            removeEventListener(Event.ENTER_FRAME, xmlLoaded);
            trace("XML Data File Loaded");
            trace(subjectXML);
        } else {
            trace("File not Found");
        imgNum=2;//subjectXML.ROW.length;
        trace(subjectXML);
        loadThumb(0);
    function loadThumb(startPos:int):void {
        var count:Number=aPhoto.length;
        trace(subjectXML.DATABASE);
        for (var i=0; i<count; i++) {
        try{
            aPhoto[i].source="images/"+subjectXML.ROW[startPos+i].ImageName+"_main.jpg";
        }catch (e:Error){
            trace(e);
            aPhoto[i].mouseChildren=false;
            aPhoto[i].addEventListener(MouseEvent.MOUSE_DOWN, onThumbClick);
        trace("Current mem: " + System.totalMemory);
        ldAttract.visible=false;
    function unloadThumb():void {
        var count:Number=aPhoto.length;
        for (var i=0; i<count; i++) {
            aPhoto[i].unload();
            aPhoto[i].removeEventListener(MouseEvent.MOUSE_DOWN, onThumbClick);
        trace("Current mem: " + System.totalMemory);
    function onThumbClick(evt:MouseEvent) {
        var i:Number;
        //trace("Thumbnail Clicked " + evt.target.name);
        i=findPos(evt.target.name);
        ldLrgPhoto.source="images/"+subjectXML.ROW[i+fromPos].LOCAL_OBJECT_ID+"_main.jpg";
        ldLrgPhoto.visible=true;
        btnPrev.visible=false;
        btnNext.visible=false;
        gotoAndStop("showPhoto");
    function findPos(thumb:String):Number {
        var pos:Number;
        var count:Number=aPhoto.length;
        for (var i:Number=0; i<count; i++) {
            if (thumb==aPhoto[i].name) {
                pos=i;
        return pos;

    Hi,
    I was trying to use xml namespaces, so in my application I receive an XML file from the server. The file has a namespace, so when I parse the file I need to specify the namespace:
    I got the following piece of xml:
    <ls:exchange xmlns:ls=".../tsw" xmlns:tm="http://kxa">
        <ls:projects>
             <tm:annotation id="" date="" action="getprojects" status="responseok"/>         
        <ls:project id="" name="proj" description="..." owner="asss"  release="2" />
            <ls:projectV  id="" version="" creationdate="" modificationdate=""/ >
        </ls:project>
    </ls:projects>
    </ls:exchange>
    and the following code
    <mx:VBox label="WELCOME" verticalScrollPolicy="off" horizontalScrollPolicy="off">
          <mx:Tree id="tree" dataProvider="{srv.lastResult.project}" labelField="@name"  width="300" height="100%" itemOpen="itemOpenEvt(event);" />
    </mx:VBox>
    So i want to display the content of the xml (project nodes”) in a tree view, but i don’t know how to includes the namespace"ls:" in the data provider “srv.lastResult.project”. can u help me it’s urgent.
    sincerly
    Celine

  • Convert flat file to XML document and store into Oracle database

    First:
    I have a flatfile and created external table to read that file in Oracle
    Now I want to create an XML document for each row and insert into Oracle database, I think that XMLtype.
    Could you please provide me some information/steps.
    Second:
    Is there performance issues, because everyday I need to check that XML document stored in the database against the in coming file.
    Thank You.

    Oracle 11g R2 Sun Solaris
    Flat file is | (pipe delimited), so I did create an EXTERNAL Table
    row1     a|1|2|3|4
    row2     b|2|3|4|5
    row3     c|6|7|8|9
    I want to store each record as XML document. So it will be easy to compare with next day's load and make insert or update.
    The reason is:
         First day the file comes with 5 columns
         after some days, the file may carry on some additional columns more than 5
         In this case I do not want to alter table to capture those values, if I use XML than I can capture any number of columns, CORRECT!. Please make me correct If I am wrong.
         This is the only reason to try to use the XMLType (XML Document)
         On Everyday load we will be matching these XML documents and update it if there is any column's value changes
    daily average load will be 10 millions and initial setup will be 60-80 millions
         Do I have anyother option to capture the new values without altering the table.
    Please advise!.

  • XML loader and UTF-16 - throws Content is not allowed in prolog

    Hi,
    Our ECC system is updated to unicode system recently. Now the iDoc downloaded from ECC is having a tag <?xml version="1.0" encoding="utf-16"?>.
    The XML Loader in the transaction throws an exception "Cannot perform action on XML document Content is not allowed in prolog. Exception: [Content is not allowed in prolog.]". If I change the encoding manually as "utf-8" and executing the transaction, it is working fine.
    Please let me know how to solve the issue.
    Thanks,
    Raman N

    Where should I enhance the webservice to make it able to handle zipped XML documents? Shouldn't take the AXIS library take care of this automatically?
    This is the web.xml document I use.
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>
    NDW2</display-name>
    <servlet>
    <display-name>
    Apache-Axis Servlet</display-name>
    <servlet-name>AxisServlet</servlet-name>
    <servlet-class>
    org.apache.axis.transport.http.AxisServlet</servlet-class>
    </servlet>
    <servlet>
    <display-name>
    Axis Admin Servlet</display-name>
    <servlet-name>AdminServlet</servlet-name>
    <servlet-class>
    org.apache.axis.transport.http.AdminServlet</servlet-class>
    <load-on-startup>100</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>/servlet/AxisServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>*.jws</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>AxisServlet</servlet-name>
    <url-pattern>/services/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>AdminServlet</servlet-name>
    <url-pattern>/servlet/AdminServlet</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>

  • Cannot load any data from Oracle 11G data base

    Hi Gurus!
    We using SAP BI 7.0.
    We have a source system, which is an Oracle Data warehouse based on Oracle 11G data bases.
    We created the source system in the BI without any problem.
    The connection is open to the Oracle databases.
    We created data source in the BI (trn. RSA1), and when we would like to Read Preview Data (Display data source, Preview tab) we can't see anything.
    The system is working, in trn. SM50 we see the process is runing, but we can't see any data (we wait more than 5000 sec.)
    When we tried data load from the source system, we got a short dump with time-out (after 50000 sec.)
    Summarize:
    - the connection to the source system is OK,
    - the process is running
    - we can't see any Preview data
    Can somebody help us?
    Thank you.
    Best regards,
    Gergely Gombos

    We really need to know what errors or warnings the Cache Agent is reporting in the TimesTen ttmesg.log files, when an autorefresh fails, to be able to give advice. If the size of the datastore segment is 512MB (though you don't say how that is divided between Perm, Temp and Log Buffer) but you're only using 30MB of Perm, then on the face of it, it's not a problem in running out of memory. You say autorefresh doesn't complete when "there are a lot of updates on cached tables" - do you mean updates being done directly on the rows in the TimesTen cachegroups, by users? If so, it sounds to me like you have locking contention between the user updates, and the autorefresh mechanism trying to bring new rows in from Oracle. Again, the ttmesg.log should spell this out.

  • Populator not working after deleting model and items from Oracle cofigurator.

    I had created a ATO model, and populated it to the Configurator, worked with it, created UIs, tested with OM (and BOM) worked alright.
    But, I had to delete the items and models in the Configurator as my playing around had messed it up. Now I populated it again from Oracle Apps, it is not bringing in the items (none at all) and it is not bringing in the options for option classes more then two level deep. Also, weirdly only the descriptions keep appearing in the Model tree node not the name, even if I choose it in the tree. I tried running purge configuraotr tables.
    Do you have any idea why this is happening. Any help would be appreciated.
    Thank you again.

    First, back up your Mac. To learn how to do that read Mac Basics: Time Machine backs up your Mac
    Then:
    Launch the Console app - it is in your Utilities folder. You can find it by selecting Utilities from the Finder's Go menu.
    If the log list column on the left is not already displayed, show the log list by selecting Show Log List from Console's View menu. Select Show Toolbar if it is not already shown.
    Locate system.log in the list and select it. Many date and time-stamped entries will appear, hundreds of them, and you must find the entries relevant to your Mac's problem.
    To do that click the Clear Display button in the Toolbar. All previously displayed log entries will reappear.
    Next: Perform whatever actions cause the Mac to exhibit the slow behavior. If the problem is caused by errors logged by the system, the Console window will show them being recorded in system.log.
    One or more of them, along with their time stamps, may reveal the reason for the problem you describe.
    Copy and paste those log entries in a reply. If hundreds of the same repetitive messages appear, please edit them before posting. There should be no need for more than 100 or so total log entries.
    Most of the entries will be cryptic but will contain information you might consider personal such as your Mac's name. If you do not want that information to appear, delete or obscure it when posting your reply. Leave enough information so that the entries can be deciphered.

  • Copy and Paste from Oracle Forms to Excel

    Hi to All,
    I ran into this unusal problem with one user. She is trying to copy data in a cell from oracle form to excel. She does control+c and tries to control+v in excel. The data does not get pasted.
    I tried logging into oracle on her pc and do the same method. I get the same results.
    We tried copy from the menu bar in oracle and go into excel , menu and do paste. And it does not paste.
    I did a test from copy from word document to excel...that worked.
    We tried a different pc and everything worked.
    Is there a setting in oracle when i do a copy that is not copyin the cell correctly. Any tips how to resolve this problem.
    Thanks in advance for help in this matter.

    If it only happens on one PC, then usually there is a problem with the PC showing the "yellow bars" when logging into Oracle Forms. Otherwise, there is a more global problem with unsigned JAR files on the server.
    Unable To Copy And Paste Text To Desktop Applications From Core Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=434038.1
    Cannot Cut, Copy, or Paste from a Desktop Application into Oracle Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=168280.1
    Cannot Perform a Copy and Paste from release 12.0.4 from or to Excel
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=735670.1

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

  • Forcing an application to load and run from memory

    Greetings,
    Is it possible to force an application to load and run only in RAM? I've got a V60 (i386) with 4gb of RAM running Solaris 10 (beta). We have an application that we would like to ensure loads and runs only in RAM and not swap to the disk. The machine is used for this one application that uses about 50% of one CPU at all times. Even with this application running, of the 4gb of RAM, 3.5gb are unused.
    The swap size is equal to the size of the RAM, but we want to prevent the application from ever using swap. Is that possible?
    Thanks,
    Bob

    Unless there is memory pressure solaris kernel does not throw away a process' pages onto swap.
    When you have 3.5Gb of unused main memory, there is no chance for this application pages to be
    put on swap.
    You can use 'pmap -x' to check RSS matches the process size.
    'swap -s' tells you how much swap is actually used.

Maybe you are looking for