@adirgapalit,
Can you kindly share sample project along with sample database over Google-Drive or Onedrive, so that we can look at your code, understand it better and help you out?
This tutorial on Saving/Retrieving BLOB object in Spring MVC might help you handle the scenario you have described above.
—
Vishwas R
Team CanvasJS