Converting a blob to clob

Hi,
Has anybody been successful in using the DBMS_LOB.ConvertToClob procedure. It's giving me "invalid lob locator specified" error.
here's my code
create or replace function convert_blob_to_clob(p_file in varchar2) return clob is
v_file_blob blob;
v_file_clob clob;
v_file_size integer := dbms_lob.lobmaxsize;
v_dest_offset integer := 1;
v_src_offset integer := 1;
v_blob_csid number := dbms_lob.default_csid;
v_lang_context number := dbms_lob.default_lang_ctx;
v_warning integer;
begin
select a.blob_content into v_file_blob
from txt_files a
where name = p_file;
dbms_lob.convertToClob(v_file_clob, v_file_blob,v_file_size,
v_dest_offset, v_src_offset, v_blob_csid,
v_lang_context, v_warning);
if v_warning = 0 then
return v_file_clob;
end if;
end;
Any help would be greatly appreciated
Thanks.

I figured it out...
here 's the new code..
create or replace function convert_blob_to_clob(p_file in varchar2) return clob is
v_file_blob blob;
v_file_clob clob;
v_file_size integer := dbms_lob.lobmaxsize;
v_dest_offset integer := 1;
v_src_offset integer := 1;
v_blob_csid number := dbms_lob.default_csid;
v_lang_context number := dbms_lob.default_lang_ctx;
v_warning integer;
begin
select a.blob_content into v_file_blob
from txt_files a
where name = p_file;
-- the following line solved it
DBMS_LOB.CREATETEMPORARY(v_file_clob, TRUE);
dbms_lob.convertToClob(v_file_clob, v_file_blob,v_file_size,
v_dest_offset, v_src_offset, v_blob_csid,
v_lang_context, v_warning);
if v_warning = 0 then
return v_file_clob;
end if;
end;

Similar Messages

  • Function convertion from blob to clob

    Plesae need help,to make function convert from blob to clob
    i have function but not work when coulmn of blob is vey large
    =========================================================================================
    CREATE OR REPLACE PACKAGE BODY "SHB_PACKAGE"
    AS
    FUNCTION blob2clob (l_blob BLOB)
    RETURN CLOB
    IS
    l_clob CLOB;
    l_src_offset NUMBER;
    l_dest_offset NUMBER;
    l_blob_csid NUMBER := DBMS_LOB.default_csid;
    v_lang_context NUMBER := DBMS_LOB.default_lang_ctx;
    l_warning NUMBER;
    l_amount NUMBER := dbms_lob.lobmaxsize;
    BEGIN
    IF l_blob is null
    THEN
    return null;
    ELSE
    DBMS_LOB.createtemporary (l_clob, TRUE);
    l_src_offset := 1;
    l_dest_offset := 1;
    l_amount := NVL(DBMS_LOB.getlength (l_blob),0);
    DBMS_LOB.converttoclob (l_clob,
    l_blob,
    l_amount,
    l_src_offset,
    l_dest_offset,
    0,
    v_lang_context,
    l_warning
    RETURN l_clob;
    END IF;
    END;
    END SHB_package;

    thanks,function is working fine
    issue duo to i used under informatice and bug in informatica
    Edited by: user8929623 on Jan 17, 2010 1:39 AM

  • Can I convert existing column BLOB to CLOB?

    Hi ,
    I need conversion of existing column from BLOB to CLOB. Kindly sueggest workaround. Table structure is as
    { desc tab1;
    Name Null? Type
    Name Null? Type
    RECID NOT NULL VARCHAR2(255)
    XMLRECORD BLOB}
    I need to convert it from blob to clob. Kindly provide workaround.
    Regards

    Hi,
    How can i use this function for my scenario
    1. Table name is "test" and XMLRECORD column should be in CLOB without drop table. Kindly update this fuction as per my scenario and also provide all the steps
    CREATE OR REPLACE FUNCTION blob_to_clob (blob_in IN BLOB)
    RETURN CLOB
    AS
    v_clob CLOB;
    v_varchar VARCHAR2(32767);
    v_start PLS_INTEGER := 1;
    v_buffer PLS_INTEGER := 32767;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(v_clob, TRUE);
    FOR i IN 1..CEIL(DBMS_LOB.GETLENGTH(blob_in) / v_buffer)
    LOOP
    v_varchar := UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(blob_in, v_buffer, v_start));
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_varchar), v_varchar);
    v_start := v_start + v_buffer;
    END LOOP;
    RETURN v_clob;
    END blob_to_clob;
    ]

  • Blob to Clob function

    I am using the below function to convert a CSV file with large data (say more than 100k records) . the below functions allows me to read not more than 350 records. Can any one help me with accepting the larger files ?
    create or replace FUNCTION blob_to_clob (blob_in IN BLOB)
    RETURN CLOB
    AS
         v_clob CLOB;
         v_varchar VARCHAR2(32767);
         v_start     PLS_INTEGER := 1;
         v_buffer PLS_INTEGER := 32767;
    BEGIN
         DBMS_LOB.CREATETEMPORARY(v_clob, TRUE);
         FOR i IN 1..CEIL(DBMS_LOB.GETLENGTH(blob_in) / v_buffer)
         LOOP
         v_varchar := UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(blob_in, v_buffer, v_start));
    DBMS_LOB.WRITEAPPEND(v_clob, LENGTH(v_varchar), v_varchar);
              v_start := v_start + v_buffer;
         END LOOP;
    RETURN v_clob;
    END blob_to_clob;

    Not sure why a BLOB is being used here. If you are processing just a CSV (text) file you shouldn't need a BLOB. You should be able to handle it directly as a CLOB. Could you detail more how you are using this function or what exactly your process is doing i.e. how is the data read in from CSV, where does it go, etc.?

  • Blob to Clob

    Hi All,
    Any help with be much appreciated.
    I wrote the following but keep getting the following error: ORA-06502: PL/SQL: numeric or value error. I know the flex_ws_api.blob2clobbase64 function is working as I have tested it outside of the application but when I try to push it to a page item I get the error, the function is converting a document form a blob to a clob.
    declare
    l_blob BLOB;
    l_return CLOB;
    BEGIN
    select blob_content into l_blob
    from wwv_flow_files
    where name = :P169_FILENAME;
    l_return := flex_ws_api.blob2clobbase64(l_blob);
    :P169_CLOB_VALUE := l_return;
    END;

    user10256482 wrote:
    :P169_CLOB_VALUE defined as just a textarea item and the error I receive is in the Application (APEX) so I dont get a line number.I'm thinking :p169_clob_value was defined with insufficient length and the clob is too long to fit into it

  • Using blob or clob from db as document

    I'm changing a working process to fetch an XDP document from a database rather than fetch from resources:// on the Adobe server. The DB2 database field containing the XDP is a clob data type. We were using blob. The services operations are:
    - Foundation/JdbcService/Query Single Row   this fetches the XDP
    - Foundation/SetValue/Execute   this converts whatever was fetched into a document variable
    - Forms/FormsService/renderPDFForm   this merges the document with XML and produces PDF output
    I'm unable to write the database field into a variable due to lack of choices. For instance there is no BLOB or CLOB variable type in the list of available types. When using STRING I get the following error:
    Caused by: java.io.NotSerializableException: com.ibm.db2.jcc.b.ub
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
        at com.adobe.idp.dsc.util.CoercionUtil.toString(CoercionUtil.java:498)
    When using XML I get the following error:
    Caused by: com.adobe.workflow.WorkflowRuntimeException: Invalid location: /process_data/@clob_XDP_string cannot be stored for action instance: -1
        at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:701)
    When using OBJECT I get the following error:
    Caused by: com.adobe.workflow.WorkflowRuntimeException: Invalid location: /process_data/@clob_XDP_string cannot be stored for action instance: -1
        at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:701)

    Steve,
    Going against DB2 doesn't work for me with a document variable type. It gives a coercion error.
    I did solve my problem though from the following URL: http://groups.google.com/group/livecycle/browse_thread/thread/6c4b9156b52b71a7
    JYates:
    You can do this, but you have to  use the Execute Script service -- at this time there isn't a deployable component for it.
    Use this sort of script in the Execute Script service to read  the PDF blob from the database and populate a Document variable.
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.sql.DataSource;
    import javax.naming.InitialContext; 
    int processId =  patExecContext.getProcessDataIntValue("/process_data/@id"); 
    InitialContext context = new InitialContext();
    Connection connection = ((DataSource)context.lookup("java:/IDP_DS")).getConnection(); 
    String queryQuery = "select bigdocument, bigstring from tb_pt_workwithxlobs where process_instance_id = ?";
    PreparedStatement queryStatement = connection.prepareStatement(queryQuery); 
    try {
       queryStatement.setInt(1, processId);
       ResultSet results = queryStatement.executeQuery();
       results.next();
       java.sql.Blob documentBlob = results.getBlob(1);
       com.adobe.idp.Document document = new com.adobe.idp.Document(documentBlob.getBinaryStream());
       patExecContext.setProcessDataValue("/process_data/@NewBigDocument",document);
       java.sql.Clob stringClob = results.getClob(2);
       patExecContext.setProcessDataValue("/process_data/@NewBigString",stringClob.getSubString( 1L,(int)stringClob.length()));
    catch(Exception ex) {
       ex.printStackTrace();
    queryStatement.close();
    connection.close();

  • Blob to clob conversion when inserting as select?

    I have a table with one row that has BLOB column. I would like to copy that row to a different table, with CLOB column data type. I’ve found this discussion (BLOB to CLOB? where some examples of stored procedures to convert blob to clob are used but I am unsure what should I use as input parameter to the blob_to_clob procedures listed in that discussion? Please advice.
    Thank you very much for your time.
    Daniel

    The function by Richard Wiener {message:id=9646697} in the thread simply uses the procedure dbms_lob.converttoclob with a set of parameters defined in the function.
    At my work we have created a similar function:
    CREATE OR REPLACE function blob2clob (p_blob in blob)
       return clob
    is
       v_clob     clob;
       amount         INTEGER;
       dest_offset    INTEGER;
       src_offset     INTEGER;
       blob_csid      NUMBER;
       lang_context   INTEGER;
       warning        INTEGER;
    begin
       dbms_lob.createtemporary (
          v_clob,
          false,
          dbms_lob.session
       amount         := dbms_lob.lobmaxsize;
       dest_offset    := 1;
       src_offset     := 1;
       blob_csid      := nls_charset_id('AL32UTF8');
       lang_context   := 0;
       dbms_lob.converttoclob(
          v_clob,
          p_blob,
          amount,
          dest_offset,
          src_offset,
          blob_csid,
          lang_context,
          warning
       return v_clob;
    end blob2clob;
    /Difference here is that Richard uses default charset - we have need for AL32UTF8 charset. You should use whatever is relevant for your case.
    The use of either Richards function or the above is simple for your insert as select:
    insert into tab_c (clob_col)
    select blob_to_clob(blob_col) from tab_b

  • BLOB and CLOB data in BI Publisher

    Hello,
    I have an XML file with blob and clob data in it. I am using BI desktop publisher to load the xml file and create the rtf template. I am getting the following error:
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\work\employee.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\work\employee.xml
    FOProcessor setLocale: en-us
    Do i need to install anything or am i missing any configuration to read the blob and clob? Please advise
    thanks

    Check this out, hopefully it'll help you
    http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/
    Fiston

  • How can i read a stored picture in oracle Long Raw datatype? blob or clob?

    How can i read a stored picture in oracle Long Raw datatype? Like a blob or clob?....i am using jdk 1.3
    This is because...i tried to read it like a blob but i obtain a exception...about Type of column no valid......but the column exist....and it contains the long raw datatype of the pictures.....this is my code:
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.InputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.DriverManager;
    import oracle.sql.BLOB;
    import oracle.sql.BLOB.*;
    import oracle.jdbc.driver.*;
    import java.sql.*;
    class rec_ima1
    public static void main(String h[])
    Connection con = null;
    Blob bl;
    final ImageIcon image1;
    JPanel photo;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
    String query = "Select * from pictures where ID = '18840'";
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery( query );
    if (!rs.next())
    System.out.println("Empty Result Set");
    bl = rs.getBlob(5);
    if (bl == null) {
    System.out.println("Null Blob");
    return;
    InputStream is = bl.getBinaryStream();
    int imageLength = (int) bl.length();
    System.out.println(imageLength);
    System.out.println(bl.length());
    byte[] imageData = new byte [imageLength];
    is.read(imageData, 0, imageLength);
    image1 = new ImageIcon(imageData);
    photo = new JPanel() {
    public void paint(Graphics g){
    g.setColor(Color.lightGray);
    g.drawImage(image1.getImage(), 0, 0, this);
    } catch (Exception e) {
    e.printStackTrace();
    Now i tried using clob:
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.InputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.DriverManager;
    import oracle.sql.CLOB;
    import oracle.sql.CLOB.*;
    import oracle.jdbc.driver.*;
    import java.sql.CallableStatement;
    class rec_ima4
    public static void main(String h[])
    Connection con = null;
    Clob cl;
    JPanel photo;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
    con.setAutoCommit (false);
    String query = "Select * from pictures where ID = '18840'";
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery( query );
    while (rs.next()) {
    oracle.sql.CLOB clob = (CLOB) rs.getObject(5); //line 47
    } catch (Exception e) {
    e.printStackTrace();
    This is the runtime exception:
    java.lang.ClassCastException: [B
    at rec_ima4.main(rec_ima4.java:47)

    Thanks by answering to me......
    Well....i did that....but what is ImageIO?....
    I declared a ImageIcon imageIO, but this give me the following:
    rec_ima3.java:49: cannot resolve symbol
    symbol : class BufferedImage
    location: class rec_ima3
    BufferedImage bi = ImageIO.read(bInput);
    ^
    rec_ima3.java:49: cannot resolve symbol
    symbol : variable ImageIO
    location: class rec_ima3
    BufferedImage bi = ImageIO.read(bInput);
    ^
    What classes i have to import?.....what is ImageIO?
    Thanks

  • Display BLOB and CLOB on browser

    Hi All.
    I need to display contents of BLOBs and CLOBs on the browser. They can be any docFlavour eg. .jpg, .gif, .pdf, .doc etc
    Is there some standard way of doing this ???
    If any all possible I would rather not use swing class because of its footprint and its slow performance over the net.

    Hi !
    Just in case anyone read this and is willing to comment on it...
    I have one BLOB and one CLOB column in the same record.
    I have been able to stream documents into and out of the BLOB's incl. MS .doc Also I have been able to get the content from BLOB and write it to a target directory.
    However I am having odd problems with CLOB, a simple text file. My servlet attempts to read the CLOB and does create the output file in the target directory, but does not copy the content over. It also returns 0 for clobLength !?! Here is the stub-code :
    ResultSet clobRS = thisStmt.executeQuery (
    "SELECT ATextMsg " +
    "FROM ... " +
    "WHERE ... " );
    clobRS.next();
    CLOB thisCLOB = ((OracleResultSet) clobRS).getCLOB("ATextMsg");
    int chunkSize = thisClob.getChunkSize();
    System.out.println("chunkSize is " + chunkSize); // default us 8132...
    char [] textBuffer = new char[chunkSize];
    String targetFile = targetDir + "retrieved_" + fileName;
    File thisFile = new File(targetFile); // it does create an empty target file...
    // read content as ASCII (text) content...
    FileOutputStream thisFileOutputStream = new FileOutputStream(thisFile);
    OutputStreamWriter thisWriter = new OutputStreamWriter(thisFileOutputStream);
    BufferedWriter thisBufferedWriter = new BufferedWriter(thisWriter);
    // things go wrong here, returns length of 0, why ?!?
    long clobLength = thisClob.length();
    System.out.println("clobLength is " + clobLength);
    // flush to targetFile - but since clobLength=0, nothing gets copied over...
    for (position=1; position<=clobLength; position+=chunkSize)
    int charsRead = thisClob.getChars(position, chunkSize, textBuffer);
    thisBufferedWriter.write(testBuffer);
    Since the clobLength is 0, obviously it will not copy from the database CLOB to the file.
    Manually change the clobLength = 8132, recompile and run, then it copies some junk to the targetFile, certainly not the textual data in the CLOB itself.
    The BLOB is fine...
    Can someone comment on this please and if possible, give me a hint on where I might have gone wrong with a simple text file ???

  • How to convert oracle BLOB to String

    Hi,
    I am working on an GIS project using Oracle database which stores the spatial data. When I read the polygon points data which is saved as BLOB type in database table and convert the BLOB to byte[], there is no problem. However when the data is converted to Character, those characters are not recognized something like this:
    �����������?�����?���w�����������������!����?o����s��8��n�����H��?
    ������������������ �?&�?�����|��?��������?���������������L�?
    This is the method I used to convert BLOB to String below:
    -----mapb is the BLOB instance.
    byte[] images = mapb.getBytes(1,(int)mapb.length());
    String newstring = new String(images);
    Is that decoding problem?
    Can somebody help me for this problem?
    Thanks in advance!
    XR

    Hi,
    Thanks for reply,
    Actually the data is ESRI spatial data saved in ORACLE database.
    the BLOB is not a column, it is part of column of st_geometry.
    I looked at some docs in ESRI, they save points which is the last part of st_geometry field with BLOB type. I use the jdbc to get the geometry data and use STRUCT and Datum class to get all members of the st_geometry data. There are 14 members in the field, I can cast most of them into String through Datum instance, but the object #14 is BLOB, will not allow me cast it to String directly, so I use byte[] and cast it though new String().
    some of the lines here:
    STRUCT st = (oracle.sql.STRUCT) rs.getObject("shape");
    Datum[] dtms = st.getOracleAttributes();
    BLOB mapb = null;
    for (int i=0;i<dtms.length;i++){
    if (!(dtms[i] == null)){
    if (i==13){
    mapb = (BLOB)dtms;
    } else {
    log.info("data" + i + "=" + dtms[i].stringValue());
    byte[] images = mapb.getBytes(1,(int)mapb.length());
    String newstring = new String(images);
    Thanks again for your reply.
    XR

  • Table export to csv files and blob/lob/clob data types

    Greetings,
    Im planning to export oracle tables to a csv file, however, it came to my attention if BLOB/LOB/CLOB datatypes will be included during the export to the csv file?
    DB: Oracle9i Database 9.2.0.1.0
    Regards
    Edited by: oracleelcaro on 4-okt-2010 9:45

    Hi,
    The performance would be slow, since as per my knowledge if you go for direct path - still tables or segments dealing with lob will opt for "conventional path".
    Any non-textual information exists - kindly check out before to export.. ??
    - Pavan Kumar N

  • How to File Convert to Blob? help me

    Hey Guys...........
    How to convert inputStream to blob ????
    kit = new RTFEditorKit();
    Document doc = kit.createDefaultDocument();
    InputStream is = getUploadedFile().getInputStream();
    DCIteratorBinding iterTemplate = ADFUtils.findIterator("TemplateVOIterator");
    Row currentRow = iterTemplate.getCurrentRow();
    String templateId = currentRow.getAttribute("Id").toString();
    currentRow.setAttribute("TemplateFile", ????); in here Blob file....
    "is" convert to blob ???
    Regards Ninja,
    Edited by: Ninja on Jul 21, 2011 7:04 PM
    Edited by: Ninja on Jul 21, 2011 11:39 PM

    Timo Hahn wrote:
    Well, it's all in the sample Frank pointed you to:
    //your code
    kit = new RTFEditorKit();
    Document doc = kit.createDefaultDocument();
    InputStream is = getUploadedFile().getInputStream();
    DCIteratorBinding iterTemplate = ADFUtils.findIterator("TemplateVOIterator");
    Row currentRow = iterTemplate.getCurrentRow();
    String templateId = currentRow.getAttribute("Id").toString();
    currentRow.setAttribute("TemplateFile", newBlobDomainForInputStream(is)); in here Blob file....
    private BlobDomain newBlobDomainForInputStream(InputStream in) throws SQLException, IOException {
    BlobDomain b = new BlobDomain();
    OutputStream out = b.getBinaryOutputStream();
    writeInputStreamToOutputStream(in,out);
    in.close();
    out.close();
    return b;
    private static void writeInputStreamToOutputStream(InputStream in, OutputStream out) throws IOException {
    byte[] buffer = new byte[8192];
    int bytesRead = 0;
    while ((bytesRead = in.read(buffer, 0, 8192)) != -1) {
    out.write(buffer, 0, bytesRead);
    }TimoI can new method..... This is GOOD..
    *> kit = new RTFEditorKit();*
    *> Document doc = kit.createDefaultDocument();*
    *> InputStream is = getUploadedFile().getInputStream();*
    byte[] bytes = IOUtils.toByteArray(is);
    Blob blob = new SerialBlob(bytes);
    currentRow.setAttribute("TemplateFile", blob);
    like
    Edited by: Ninja on Jul 28, 2011 10:59 PM

  • Convert a blob to base64

    hi, someone who can help me how to convert a blob oracle in base64.encode,
    and viceverse.
    please some idea
    tanks
    alex

    i saw a bit code about this convertions,
    //one side
    ResultSet r = ...........
    BLOB b = (BLOB)r.getBlob('ICON');//BLOB is oracle type not Blob
    byte[] base = b.getBytes();
    Strgin res = Base64.encode(base);
    //other side
    String dec = datos;// data in base64
    byte[] base = Base64.decode(dec.getBytes());
    BLOB b = null;
    b.setBytes(base);
    is this code correct????
    i tried to test but a have an error with
    public static void BLOBToFile(BLOB datos,String path)
    try
    FileOutputStream fos=new FileOutputStream(path);
    byte[] tempBin=new byte[8];
    long cant=1;
    while (cant <= datos.length())
    tempBin=datos.getBytes(cant,Integer.MAX_VALUE);
    cant = Integer.MAX_VALUE+1;
    fos.write(tempBin);
    fos.close();
    catch(Exception e)
    e.printStackTrace();
    and the error is outOfMemory
    how can i test my code??
    alex

  • Help required in handling of Oracle BLOB and CLOB in OC4J

    Hi,
    I am in a process of porting my application from Weblogic 6 to OC4J.
    I have problem while handling CLob and Blob's in oracle. Weblogic has
    classes defined to do the same. (weblogic.jdbc.common.OracleClob)
    Does any one know how I can achieve this.
    Thanks in advance.
    Regards,
    Moin

    We have an application running on OC4J accessing an Oracle 8.1.7 db, and have no problems using BLOBs and CLOBs. It is explained quite clearly in the Oracle documentation.
    If you require further assistance let me know :-)

Maybe you are looking for

  • Can not open a pages 4.0.2 document using pages 2.0.2

    We purchases our 2nd Mac and it has Pages 4.0.2. The existing Mac has Pages 2.0.2. The newer Mac can open Pages documents created by the older one but the older one will not open Pages documents created with the newer Mac. Any suggestions ?

  • Unable to read multiple files in BODS

    hi all, i am unable to read multiple files [with same format of fields] using wild card characters in file name. scenario: i have 2 files: test1.xlsx & test2.xlsx in the excel file format, for the file name column, i have given test*.xlsx. and done t

  • Cover Flow Artwork for Albums is Dysfunctional

    Artwork on Cover Flow view displays as a jumbled plaid-like distorted picture. I tried reinstalling and repairing, but that has not solved the issue. Anyone know of a fix for this? Running on Windows XP.

  • Question about message mapping

    Hi, When I use the visual mapping tool, I specify the condition that: <SourceValue> equalsA 1, <TargetValue> value is 1; else it's 0. However in the source XML, sometimes source XML is like: <Root> </Root> where there's no SourceValue element. And no

  • Nokia 5233 new firmware changes?

    Hi, i recently upgraded my nokia 5233's software version from 21.1.102 to 40.1.003. but dont notice any changes except the here and now app. Can i get the change log for v40.1.003??