jQuery in Action, 3rd edition
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 Java Interview Guide this week in the Jobs Discussion 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 sameer_sawla@rediffmail.com

I agree. Here's the link: http://aspose.com/file-tools
subject: reading image from database
It's not a secret anymore!