title: Spring Data JPA: how to make one to one relationship with SQL Server JSON column
body: <p>Spring Data JPA: how to make one to one relationship with SQL Server JSON column?</p>
  <pre><code>Class EntityA {
    long id;
    @Type(type = &quot;json&quot;)
    @Column(columnDefinition = &quot;json&quot;)
    private String jsonField; 
  
  }
  
  Class EntityTypeA {
   long id;
   long key;
   List result; 
  }
  </code></pre>
  <p>Json filed:</p>
  <pre><code>{ 
    TypeA: {
      id:1, 
      result: []
    }, 
    TypeB: {
      id:1, 
      key:2, 
      result:[], 
      input: '1,2,3', 
      output:null
    }
  }
  </code></pre>
  <p>How to combine and get the result of Entity A and TypeA using the id field in JSON property?</p>