Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and the fly likes Storing images 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 "Storing images" Watch "Storing images" New topic

Storing images

kiran nori

Joined: May 28, 2001
Posts: 12
Hi, can any one please let me know how to upload a image on to the server and store the same in a database.
mustang india
Ranch Hand

Joined: Feb 05, 2002
Posts: 60
U have to use "blob" (binary large object). This is supported from Oracle 8 onwards. U can get more info and some examples on this in Sun's JDBC tutorial.
It is sorta covered in the JavaRanch Style Guide.
subject: Storing images
Similar Threads
Graphs in JSF
Reading & Updating SQL Server Image type
images inserting
thumbnail in jsp