Solved

Converting String to BLOB

Posted on 2004-05-03
6
2,033 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
Comment Utility
Is this a homework?
what do you have until now?
0
 
LVL 12

Accepted Solution

by:
Giant2 earned 125 total points
Comment Utility
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
Comment Utility
Do you solved?
0
 
LVL 12

Expert Comment

by:Giant2
Comment Utility
Maybe the things I suggest are correct.
0
 

Author Comment

by:sunny08
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now