title: File in Spring Boot REST API
body: <p>I am building a REST API with Spring boot to allow applicant to fill out a form as below:</p>
  <ul>
  <li>fullName</li>
  <li>socialsecurityNumber</li>
  <li>birthDate</li>
  <li>picture(photo)</li>
  <li>resume(file)</li>
  </ul>
  <p>I am using MSSQL Server as database, What is the best way to save a file in a Spring boot Application? I mean, the resume and the photo of the applicant. Should i save it as a blob in the database or use a link on a string field to  save the path? What is the pros and Cons of the both altenatives.</p>