File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Reading a blob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Reading a blob" Watch "Reading a blob" New topic

Reading a blob

Swosti Dipan Pal
Ranch Hand

Joined: Sep 23, 2005
Posts: 70
I have a column in MQSQL which holds blob data. This data is nothing but , the ActiveMQ queue. I don't know what is the format and what it contains. I want to show it in a jsp the value/content stored in it. Please help.

Thanks<br />-Swosti
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33124

A BLOB contains binary data. You wouldn't want to display binary data as is. Instead, you would need to find out what it contains and convert it to viewable data.

I don't know what format a queue uses or how you would parse it.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Reading a blob
It's not a secret anymore!