title: How to overwrite a feature of a column in subclass?
body: <p>In our application there is an entity class which is having a property (private long version) with @Version annotation and there are lot of classes which are 
  extending this entity. We have implemented versioning to handle optimistic locking.
  But in one of those subclasses we dont want that feature. 
  So my question is how can I overwrite that feature in the subclass ?</p>
  
  <p>Code :</p>
  
  <p><strong>Employee.java :</strong></p>
  
  <pre><code>@MappedSuperclass
  class Employee {
  
  @Id
  @Column(name = "EMP_ID")
  private int id;
  
  @Column(name = "EMP_NAME")
  private String name;
  
  @Version
  @Column(name = "VERSION")
  private long version
  
  //setters and getters 
  
  }
  </code></pre>
  
  <p><strong>PermEmployee.java :</strong></p>
  
  <pre><code>@Entity
  @Table(name = "PERM_EMP")
  class PermEmployee extends Employee {
  
  @Column(name = "SAL")
  private long salary;
  
  //setters and getters 
  
  }
  </code></pre>
  
  <p>Currently PERM_EMP table is also having  VERSION column and its getting incremented with each update which we dont want for PERM_EMP table.
  Please help me resolving this issue.</p>