I'm storing a pdf file(FileInputStream
) in varbinary column of azure sql database from Java. I want to retrieve the blob data and modify few contents and then store it into a pdf again.
Examples I'm seeing in online are related to retrieving and saving it to a pdf using FileOutputStream
. But I want to modify some contents before storing it into the pdf. How to achieve this?
Link Followed: https://www.sqlitetutorial.net/sqlite-java/jdbc-read-write-blob/
Note: I'm using Spring JdbcTemplate for connecting with azure sql.