This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to get the BLOB Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "How to get the BLOB" Watch "How to get the BLOB" New topic
Author

How to get the BLOB

gurusamy sengodan
Ranch Hand

Joined: Oct 13, 2005
Posts: 41
Hi,
I have written the JDBC Code to get the field values from the Table.
There is a BLOB field in that table.
How to get the BLOB ? What is the return type we should use.
I want to see the content of BLOB field via Java Code.

Thanks in Advance
Wei Dai
Ranch Hand

Joined: Jun 22, 2005
Posts: 81
>There is a BLOB field in that table.
Usually you can use ResultSet.getBlob(...). For Oracle driver, you need some special code.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to get the BLOB
 
Similar Threads
How to upload a byte array into BLOB column?
How to see the content of BLOB Field
inserting BLOBs into MySQL database
How to retreive a blob....
How to Display the BLOB Field