title: Couchbase spring data jpa to generate composite primary key
body: <p>Using Couchbase with Spring Data and JPA,
  In my entity class How to create a Composite Key using two fields.
  currently in Person class id is the primary key <code>@Id</code>
  where I want combination of <code>id</code> and <code>name</code> will be primary key.</p>
  
  <pre><code>@Document
  public class Person {
  
      @Id
      private String id;
  
      @Field
      private String name;
  
      @Field
      private String city;
  </code></pre>