Component to display a CLOB data

Hi, i'm looking for a component which can render a CLOB type xml data. The expected size of the xml could be upto 6mb which needs to be presented in the xml format. Thanks .

Thanks for your response. The use case is , we need to show a xml message file which is stored as a CLOB data type(because of it''s size upto 6mb. ). To the user the xml message needs to be presented as in a xml editor. User can view and edit the xml and should able to save it back to database. Thanks .

Similar Messages

  • Displaying CLOB data field

    Hello,
    i have a requirement to display a CLOB data field of text more than 5000 char from a Oracle BI Publisher 10.1.3.4.0 version.
    I can only display that field upto 4000 char using dbms_lob.substr(text_field, 4000, 1) but not able to display the entire CLOB field in my SQL query data template.
    I'm getting the following error:
    XML Parsing Error: not well-formed
    Location: https://abc555.server.com/xmlpserver/servlet/xdo
    Line Number 7, Column 1094:
    Please guide how i can display CLOB fileds(text) in my report.
    Thanks.

    Can any one please let me know if BI Publisher 10.1.3.4.0 can handle CLOB data(text) onto my new report.
    I can only display upto 4000 char using dbms_lob.substr(clob_field, 4000,1).
    Please help.

  • Display clob data

    Can some one tell me is it possible to view a clob data with a simple select statement.I mean for non clob data type we can view the table by a simple select statement but for clob column type the data displayed is some junk.
    Currently I have to run some java code to display the clob data colum,which sometimes becomes very irritating.
    Please help

    boost it with a p4 3.06Ghz HT....
    no sorry i don't know...

  • Problem in displaying CLOB data through procedure

    Can anyone suggest me the stored procedure which will output CLOB data which is stored in table
    SQL>Create table XMLDOC
    (col1 number(11,0),col2 CLOB);
    Thanks in Advance

    Create the stored procedure with one OUT VARCHAR2 parameter,then select the CLOB column value from the
    table into this OUT parameter and then display this
    using DBMS_OUTPUT package.
    Or by using bind variable of type VARCHAR2(4000) you
    can print that value of clob column.
    I think this will solve your problem.

  • Reading CLOB data using jdbc thin driver

    Hi,
    When I try reading data for a CLOB column using thin jdbc driver, I get the following error message
    "Exception: ORA-06550: line 1, column 22:
    PLS-00302: component 'GETCHUNKSIZE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored".
    This error message is displayed when the call is made to get the character stream from the Clob object.
    Do I need to any server side setup before I can access CLOB data from the database?
    thanks.
    Puru Balakrishnan

    I updated to the latest jdbc drivers, 816classes12b.zip, and the problem went away.
    null

  • The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.

     We developed a SSIS Package to pull the data From Oracle source to Sql Server 2012. Here we used ADO.Net source to pull the records from Source but getting the below error after pulling some 40K records.
      [ADO NET Source [2]] Error: The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. 
     The PrimeOutput method on ADO NET Source returned error code 0xC02090F5. 
     The component returned a failure code when the pipeline engine called PrimeOutput(). 
    The meaning of the failure code is defined by the component, 
    but the error is fatal and the pipeline stopped executing. 
     There may be error messages posted before this with more 
    information about the failure.
    Anything that we can do to fix this?

    Hi,
      Tried both....
      * Having schema type as Nvarchar(max). - Getting the same error.
      * Instead of ADO.Net Source used OLEDB Source with driver as " Oracle Provide for OLE DB" Getting error as below.
           [OLE DB Source [478]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
           [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC0202009.  The component returned a failure
    code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the
    failure.
    Additional Info:
       * Here the Source task is getting failed not the conversion or destination task.
    Thanks,
    Loganathan A.

  • Display image into Data Grid

    Hello,
    I have to display into a data grid, in Flex 2, 2 columns:
    first column ( "Images") must contain a picture with an object and
    second column (" quantity") must contain the amount of that object
    that I want to buy. The problem is that I must take the name of the
    image from an .xml file, specified like this:
    <mx:DataGrid id="obj" dataProvider="{ObjList}" > where
    ObjList is the .xml file with <name/>
    <picture_address/> etc.
    The second column must contain a textbox so I can input a
    number of items for each picture ( can be also a combobox where
    from I can select some value, from 1 to 20 for example).
    I've searched the Internet and I haven't found a solution
    yet. Please give me a link or a solution for this problem.
    Tudor

    use itemrenderes.... the example below shows how to add an
    image.... you can do the same thing with a text box or combo box
    <mx:DataGridColumn width="10" headerText="Image">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Canvas width="100%" height="100%">
    <mx:Image verticalCenter="0" horizontalCenter="0"
    source="{data.picture_adress}""/>
    </mx:Canvas>
    </mx:Component>
    </mx:itemRenderer>

  • Exporting Text data from PHP to Oracle CLOB data (Carriage return - issue)

    This is my original text content in PHP - Data type - Longtext
    SECTION - 1
    This a test description.This a test description.
    This a test description.This a test description.
    This a test description. This a test description.I exported the above content from PHP as a SQL script file (insert into.. ) - export.sql [ insert into table_name (id, text_content) values (1, '') ]
    while exporting data from PHP table into export file.. it replaced the "Carriage return" with "\r\n\r\n" in the insert statement for text_content column
    When I run this INSERT statement in Oracle (for longtext, I have created a CLOB column in Oracle), the following text_content data is inserted into CLOB column in Oracle.
    SECTION - 2
    This a test description.This a test description.\r\n\r\nThis a test description.This a
    test description.\r\n\r\nThis a test description.This a test description.Now I have created a item named P1_TEXT_CONTENT of type TEXTAREA and try to fetch the CLOB data into this page item.
    BUT textarea displays the entire content including "\r\n\r\n" as mentioned in SECTION - 2
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?
    Thanks,
    Deepak

    DeepakJ wrote:
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?Run an update on the Oracle table following the inserts to replace the escaped CR/LFs with real ones:
    update foo
    set clob_column = replace(clob_column, '\r\n', chr(13) || chr(10));You might want to experiment to see which characters are actually necessary. As an OS X/Linux user I'd probably just use a single LF chr(10).

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • Using CLOB data type - Pros and Cons

    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;
    - bind variables cannot be assigned CLOB value;
    - dynamic SQL cannot use CLOBs;
    - temp tables don't work very well with CLOBs;
    - fuzzy logic search on CLOBs is ineffective;
    - not all ODBC drivers support Oracle CLOBs
    - UNION, MINUS, INTERSECT don't work with CLOBs
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?

    848428 wrote:
    Dear Gurus,
    We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
    Some of the concerns brought up during discussion were:
    - having to store CLOBs in separate tablespace;They can be stored inline too. Depends on requirements.
    - applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;Toad is a developer tool so that shouldn't matter. What should matter is how you display the data to end users etc. but that will depend on the interface. Some can handle CLOBs and others not. Again, it depends on the requirements.
    - applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;Why would they struggle? 18,000 characters is only around 18k in file size, that's not that big to a web page.
    - cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;Who's caching them in memory? What are you planning on doing with these CLOBs? There's no real reason they should impact performance any more than anything else, but it depends on your requirements as to how you plan to use them.
    - to manipulate CLOBs you need PL/SQL anonymous block or procedure;You can manipulate CLOBs in SQL too, using the DBMS_LOB package.
    - bind variables cannot be assigned CLOB value;Are you sure?
    - dynamic SQL cannot use CLOBs;Yes it can. 11g supports CLOBs for EXECUTE IMMEDIATE statements and pre 11g you can use the DBMS_SQL package with CLOB's split into a VARCHAR2S structure.
    - temp tables don't work very well with CLOBs;What do you mean "don't work well"?
    - fuzzy logic search on CLOBs is ineffective;Seems like you're pulling information from various sources without context. Again, it depends on your requirements as to how you are going to use the CLOB's
    - not all ODBC drivers support Oracle CLOBs not all, but there are some. Again, it depends what you want to achieve.
    - UNION, MINUS, INTERSECT don't work with CLOBsTrue.
    I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?You may have more hassle if you "need" to accept more than 4000 characters and you are splitting it into seperate columns or rows, when a CLOB would do it easily.
    It seems as though you are trying to find all the negative aspects of CLOBs and ignoring all the positive aspects, and also ignoring the negative aspects of not using CLOB's.
    Without context you're assumptions are just that, assumptions, so nobody can tell you if it will be right or wrong to use them. CLOB's do have their uses, just as XMLTYPE's have their uses etc. If you're using them for the right reasons then great, but if you're ignoring them for the wrong reasons then you'll suffer.

  • HTML tags not displayed when using Data Template

    Hi All...
    I'm developing a BI Publisher report in which one of the columns is a clob data type. I'm using an xsl stylesheet to format the data present in the clob column.
    I've developed the report using data template as the data set. The problem is the clob column which has the HTML tags where not displayed properly...for example
    the tag starting with
    <
    is replaced with
    & lt;
    I did a couple of searches in this forum and in tim's blog but couldn't find a proper solution...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    API and HTML Formated Content
    Re: Problem with text data elements containing escaped HTML codes
    HTML Output from CDATA
    Re: HTML formatted output
    Re: Special characters in CLOB are making report fail
    Re: Formatting of HTML tag problem
    I'm using BI Publisher standalone:Release 10.1.3.2. In one of the threads..
    Re: Special characters in CLOB are making report fail
    I came to know that data template cannot generate proper HTML tags for release 10.1.3.2. Is there any work around way to get the proper HTML tags when data template is used as a data set?
    Thanks in Advance...
    Edited by: user10280715 on Dec 9, 2008 3:13 PM

    Issue could be with the data that is selected in the other environment. It generally happens that the ALV will not give the same results as in the DEV in the other systems.
    Possible errors could be the control break statements in the loop...endloop block. validate the correctness of the control break stmts if any.

  • How to convert CLOB data (now it is in html format) to Normal text format

    Hi,
    Can anybody let me know the solution for how to convert CLOB data into normal Text.In my case the table column having CLOB datatype and the data is in html format.when i run the report the column is displaying html tags .Now i need to convert that html tags into normal text.
    Pl. let me know if any one know the solution.
    Regards,
    Thulasi.K

    LONG has been depricated since 8i so I don't believe there is a general solution to go backwards short of reloading the data.
    Justin

  • Displaying a CLOB value on a report page in an application from a DB-link

    Hello, i am having trouble displaying a CLOB value from a DB-Link, i have tried using temporary local tables, but they didnt work.
    I am now trying to use a collection (page process) to display the CLOB column's data from the link but to no avail :(
    This is my collection source:
    declare
      col1   number;
      col2   date;
      col3   clob;
    begin
      apex_collection.create_or_truncate_collection('LOBCOLLECTIONPLAN');
      for r in ( select * from TABLENAME@DB-Link ) loop
        APEX_COLLECTION.ADD_MEMBER('LOBCOLLECTIONPLAN',
        p_c001          => r.col1,
        p_c002          => r.col2,
        p_clob001       => r.col3);
    end loop;
    end;when i run the page it displays 'no data found', yet there is data in the linked DB table.
    Is there anything i am doing wrong?
    Or is there another way around this?
    Thanks in advance

    There used to be a problem with pulling CLOB's through dblinks. I don't know if that is still an issue, but I think it probably is, as that is a 'problem' with the database itself.
    If you run the same SQL query on your local database, getting the CLOB's from a remote database, do you get any errors or do you get all of the data?
    No idea if I'm right or not, but it's something you should be able to test fairly easily.
    Bill Ferguson

  • Error in calling CLOB data.. Error parsing envelope:

    Hi,
    I have database table with some CLOB data type columns.
    using DB adpater (simple select query using), I am selecting that talbe. I am getting the following error :
    Your test request generated the following exception/fault:
    Could not initiate the BPEL process because the input xml is not well formed, the reason is :
    Error parsing envelope: (1, 223) Invalid char in text. Please correct the input xml.
    How to read the CLOB data from DB that and assigs back to output varaiable in BPEL.
    Thanks,
    Bharath

    Hi,
    You want to upload file by TCP on RT target, but TCP/IP is not deterministic, so you have an timeout error.
    Have a look on this :TCP/IP Communication Error -56 When Communicating to an RT System
    Regards,
    Aurélien J.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Du 30 juin au 25 août, embarquez pour 2 mois de vidéo-t'chat ! Prenez place pour un voyage au coe...

  • Loading clob data/Migrating from Informix

    Hi,
    I wanted to understand a way to insert clob data into the database. I see that you have ways of retrieving and displaying the clobs/blobs in your demo programs. But, how do we go about inserting clob data into a column? And especially, How to accomplish this when the data is stored in the form of a file?
    We're in the process of migrating from Informix to Oracle and Informix has this way of storing the clob contents into .EMB files. Moreover, there is no one-to-one correspondence between each clob column and an .EMB file. Informix just knows how to load them up when you use FILETOCLOB(). In similar lines, do we have a way to load clob data from files to start with. And would be glad to get some intricacies on achieving the migration of data from Informix database.
    Please send me pointers to docs and procedures, if available.
    Thanks for your time
    Chandra M.

    You can see this sample:
    /******* schema ********
    create table city
    (id integer ,
    cimg blob DEFAULT NULL
    #include <iostream>
    #include <fstream>
    #include <occi.h>
    using namespace oracle::occi;
    using namespace std;
    #define BUFSIZE 8192
    Environment *env;
    Connection *conn;
    int res=0;
    unsigned int offsetw=1;
    unsigned char readbuf[BUFSIZE];
    main()
    try {
    env = Environment::createEnvironment();
    conn = env->createConnection("scott","tiger");
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    return 1;
    try
    ifstream infile ("bangalore.jpg", ios::binary);
    if (!infile.is_open()) cout << "could not open bangalore.jpg\n";
    else
    Statement *stmt = conn->createStatement();
    stmt->setSQL( "INSERT INTO city VALUES(1, EMPTY_BLOB())");
    stmt->execute();
    stmt->setSQL("SELECT cimg from city where id = 1");
    stmt->execute();
    ResultSet *rs= stmt->getResultSet();
    rs->next();
    Blob blob(conn);
    blob = rs->getBlob(1);
    blob.open();
    do
    infile.read((char *)readbuf,BUFSIZE);
    res=infile.gcount();
    if (!res) break;
    blob.writeChunk(res,readbuf, BUFSIZE, offsetw);
    offsetw+=res;
    } while (1);
    infile.close();
    blob.close();
    conn->commit();
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    try{
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    catch(SQLException &x)
    cout << "Error :" << x.what() <<"\n";
    } /* end of main */

Maybe you are looking for

  • The table tablename is not present in this descriptor.

    Hello, I'm using JDev & TopLink 9.0.3. I get the following descriptor errors. I'm not sure what they mean or how to resolve it. I re-mapped the Advisor descriptor, but with same results. Thanks. EXCEPTION [TOPLINK-93] (TopLink - 9.0.3 (Build 423)): o

  • IX4-300D - Drive Status "ToolTip" Not Working

    Hello, According to the manual, when I hover my mouse over a drive in the image in Drive Management, the ToolTip should display the drive model, size, and status, including if the drive is failing.  However, mine does not display a ToolTip?  Is somet

  • Upgrading from OS X Mountain Lion to OS X Mavericks for free?

    I'm going to buy a Macbook Pro retina this week with OS X Mountain Lion. Is it possible to upgrade the Macbook to OS X Mavericks for free in fall? I can't wait till fall to buy my Macbook because I need it for college that starts in August. Thanks fo

  • Unfamiliar device under "SHARED" in finder

    When I opened finder today there is an unfamiliar PC server listed under shared. I don't know what it is or how to get rid of it.

  • Hh5 problems connecting to sky plus hd box

    New hh5 infinity has connected to sky plus hd box via dlink powerline Ethernet cable but keeps disconnecting and now I can't get it to reconnect again. What's the solution? Also, won't connect to ps4!!