BLOB

From: <Praveen_Jani_at_hotmail.com>
Date: 2000/06/22
Message-ID: <8itjot$e5m$1_at_nnrp1.deja.com>#1/1


Hi,

 I am trying to flush & close the output stream after writing the object to BLOB. But both of these functions throws a IOException. This is what I do ..

        if ( resultSet.next() )
        {
                BLOB blob = t_resultSet.getBLOB(1);

                ObjectOutputStream  oos  = new ObjectOutputStream (
                                     blob.getBinaryOutputStream() );

                oos.writeObject ( aItems[idx] );
                oos.flush();
                oos.close();
        }

On flush it says ..

java.io.IOException: ORA-00600: internal error code, arguments: [ktsircinfo_num1
], [4290672316], [1022], [4093612], [], [], [], [] ORA-06512: at "SYS.DBMS_LOB", line 700
ORA-06512: at line 1

Moreover this problem is with read as wel ... meaning after you read and then try a 'close' ..

Any thoughts ..?

-Praveen

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Jun 22 2000 - 00:00:00 CEST

Original text of this message