Hi Kunju ...
Can you please tell us what exactly you want to do? If you want to insert the binary information of the image in a database field you might want to use BLOBs (Binary Large Objects) to store the data in the DB.
Depending on what DB are you talking about the implementation might vary a little.
You can take a look at: BLOBs & Java