title: How to sent @Version annotation field to JSON?
body: <p>How to sent @Version annotation field to JSON?</p>
  
  <p>I have super class with version field:</p>
  
  <pre><code>@Version
  @Column(name = "version", nullable = false)
  private Long version;
  </code></pre>
  
  <p>And child class Project.</p>
  
  <p>Project entity has this JSON data:</p>
  
  <pre><code>{
    "number": "123",
    "name": "Project 4"
  }
  </code></pre>
  
  <p>And E-tag header (from version field):</p>
  
  <pre><code>ETag → "8"
  </code></pre>
  
  <p>How to add version field to JSON response?</p>