How to store BLOBs data into database?
Database BLOBs (Binary Large Objects) can be used to stored any data, it could be image, audio or video file for instance. This example shows you how we use JDBC library to store image in our database. To send the binary information to the database we can call the
PreparedStatement.setBinaryStream() method and pass the appropriate input stream and it size.