Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    7

    Unanswered: Upload file to DB2

    Hello!

    Does any have example code/links for code which would upload a file to DB2?
    The code I have written gives the error:
    java.lang.AbstractMethodError: COM.ibm.db2.jdbc.net.DB2ResultSet.getBlob(I)Ljava/sql/Blob;

    I have been unable to find the reason for this.

    Thanks.
    Deepa

  2. #2
    Join Date
    Feb 2004
    Posts
    1

    Cool same problem

    Hi,

    I receive the same error when reading a file stored as blob from db2 6.1. Did you solve the problem by now and got some good hints?
    thanx reto

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1

    Re: Upload file to DB2

    Originally posted by deepavinod
    Hello!

    Does any have example code/links for code which would upload a file to DB2?
    The code I have written gives the error:
    java.lang.AbstractMethodError: COM.ibm.db2.jdbc.net.DB2ResultSet.getBlob(I)Ljava/sql/Blob;

    I have been unable to find the reason for this.

    Thanks.
    Deepa
    DB2 Application Development Guide contains a number of examples of how to work with BLOBs. You can find a link to the documentaion in the "Useful DB2 stuff" topic on top of this discussion.

Posting Permissions

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