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 image from database 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 image from database" Watch "reading image from database" New topic

reading image from database

ravi shankar reddy

Joined: Nov 23, 2000
Posts: 2
Please help me in reading bmp(an image or OLE object from msAccess) from ResultSet and display on gui application?
Ranch Hand

Joined: Aug 06, 2000
Posts: 60
do not store the image in the database, store its path in the database and u will have no problem in access it

ravi shankar reddy

Joined: Nov 23, 2000
Posts: 2
Thankyou Mr.Viswanath for responding.
Actually I have an existing oracle database.In that there is a field called "photos" is of type BLOB. I am doing an web application using that database.So in java using Resultset->getBlob() can read that field. How can i convert this into image object.
Sameer Sawla

Joined: Nov 24, 2000
Posts: 8
I too have same problem. if u get it pls mail me back at

I agree. Here's the link:
subject: reading image from database
It's not a secret anymore!