
Hi, all I want to store image into database using Java. Can anyone help me that how can i store image into database using Java.
Thanks in advance.

hi friend,
To store image into the database the data type blob can be used and in the Java code you can use the setBinaryStream() method of PreparedStatement.
For further detail you can go through the following link

Read from the following link
http://www.roseindia.net/java/example/java/core/store-image-into-database.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.