Results 1 to 3 of 3

Thread: Clobs & Blobs?

  1. #1

    Thread Starter
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Clobs & Blobs?

    How would I create a java.sql.Clob or java.sql.Blob from Scratch? I can't find anything in the docs about how to obtain them aside from ResultSet.getBlob and ResultSet.getClob, which require that I have a compatible ResultSet, which I don't have.

    Thanks in advance
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  2. #2
    Addicted Member
    Join Date
    May 2001
    Location
    UK
    Posts
    222

    Clob and Blob creation

    I believe that the java.sql.Clob and Blob are interfaces, so you can create your own instances of them.

    However i don't know if these clobs and blobs would actually work in someelses database, you'd hope so, but i don't know for sure..

    I know we had problems with the Blobs returned by an Oracle Driver we were using and we managed to erpair it byt wrapping the Oracle Blob implementation with one of our own, so i know some things are possible....

    Andy...

  3. #3

    Thread Starter
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    That might work...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width