This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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!