wood burning stoves 2.0*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "regarding image insertion in database" Watch "regarding image insertion in database" New topic
Author

regarding image insertion in database

sandeep chalishazarwala
Greenhorn

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.


Regards
Sandeep
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding image insertion in database
 
Similar Threads
How to get LONG RAW datatype image in jsp
Looking for a good design for performance
Merge statement for merging data of tables from two different databases
Time getting truncated in Weblogic
Getting an error while fetching Date time from DB in Java