GeeCON Prague 2014*
The moose likes JDBC and the fly likes how to insert images in DataBase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to insert images in DataBase" Watch "how to insert images in DataBase" New topic
Author

how to insert images in DataBase

suneel kumar
Ranch Hand

Joined: Jan 08, 2007
Posts: 46
HI,
I am using mysql in my program, how to insert images in one table.
can any one give me the steps to implement this.
Code is preferrable.

Thanks in advance
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

Search for tutorials on using Blobs and JDBC on Google (or in this forum). Keep in mind, code to insert images can vary from database to database.


My Blog: Down Home Country Coding with Scott Selikoff
 
GeeCON Prague 2014
 
subject: how to insert images in DataBase