Hai all ,

     I have some problem with clob datatype in DB . I want to store images in DB and i used CLOB for that after serializing the image .

     I have used LONGCHAR to hold the serialized image and assign LONGCHAR to CLOB in DB on clicking the save button .

But the problem is some images when serialized produces very large characters but still it can be holded in LONGCHAR but when i assign it to CLOB it throws an alertbox saying that "Could not update large object segment  during copy .(11322) " .

I am very confused because why data in LONGCHAR cannot be inserted into a CLOB .

I have also tried with

     COPY-LOB m_imageRaw to diningrm.backgroundImage .

     even that not working and produces the same error .