• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to insert and retrieve image from sql database

 
Sun Il Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 53201
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I love greenfield projects! So, do you have a database picked out yet?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36032
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the BLOB section of the JDBC tutorial.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!