title: Unique Key Constraint in Spring Data Jpa
body: <p>How to make a field unique in pojo using spring data jpa?I know how to do that using jpa</p>
  
  <p>For reference: <a href="https://stackoverflow.com/questions/2772470/how-to-introduce-multi-column-constraint-with-jpa-annotations">multi column constraint with jpa</a></p>
  
  <p>If there is a way, is it possible to use with spring boot?</p>