*
The moose likes JDBC and the fly likes how to insert and retrieve image from sql database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to insert and retrieve image from sql database" Watch "how to insert and retrieve image from sql database" New topic
Author

how to insert and retrieve image from sql database

Sun Il Kumar
Greenhorn

Joined: Mar 02, 2011
Posts: 5
I am getting problem to create a class with two function one will insert image in sql from image viewer and other will display image(off different size ).
please give an example also.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37950
    
  22
I think that question would be better answered on another forum. Let's try the databases forum first, and maybe the GUIs forum later. Moving.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

I love greenfield projects! So, do you have a database picked out yet?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

Take a look at the BLOB section of the JDBC tutorial.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to insert and retrieve image from sql database
 
Similar Threads
Case insensitive match
insert BLOB into informix
Struts
how to store an image into the DataBase using oracle database
Insert an image file into oracle and open image file from database?(using sql)