wood burning stoves 2.0*
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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 sameer_sawla@rediffmail.com

subject: reading image from database
Similar Threads
Image not dispaying in RTF document (Worddocument) using iText API
how to change the image pixel color on particular location
Reading an Image
Image class in Java APIs
Image is not displayed on the JSP page.