Solved

Converting String to BLOB

Posted on 2004-05-03
6
2,054 Views
Last Modified: 2008-02-26
Code for converting Java String into zzip file and then converting into BLOB and then storing in the DB2 database
0
Comment
Question by:sunny08
  • 3
6 Comments
 
LVL 3

Expert Comment

by:yasser_helmy
ID: 10978959
Is this a homework?
what do you have until now?
0
 
LVL 12

Accepted Solution

by:
Giant2 earned 125 total points
ID: 10993745
If you are converting from String to BLOB for DB2 you can see at the DB2-ODBC bridge.
There is the class Blob and the method setBytes to assign value to a Blob object.
In java it's an interface, so you must see the documentation of DB2-ODBC bridge you use.

Bye, Giant.
0
 
LVL 12

Expert Comment

by:Giant2
ID: 11196712
Do you solved?
0
 
LVL 12

Expert Comment

by:Giant2
ID: 11396136
Maybe the things I suggest are correct.
0
 

Author Comment

by:sunny08
ID: 11400242
Hi all,
 
     Thankyou for posting the comments. I resolved this issue long time back but I forgot to close this question. sorry for that.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
java  and programming certification ? 4 93
Looking for example pivot year code used in Y2K 4 68
Recommendation vb6 to vb.net or others 14 142
Java Loop 6 59
This is an explanation of a simple data model to help parse a JSON feed
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question