This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes regarding image insertion in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "regarding image insertion in database" Watch "regarding image insertion in database" New topic

regarding image insertion in database

sandeep chalishazarwala

Joined: Dec 28, 2008
Posts: 25
Dear all

Can anybody guide me how to insert image file(.gif,.jpeg) into oracle 10g and to retrieve it from oracle 10g using JSP.

Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Use an Oracle BLOB to insert the image.
Retrieve it again from the DB

Or save the link to the file in the DB and fetch it from a FTP server when needed.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link:
subject: regarding image insertion in database
It's not a secret anymore!