title: Inherit property from parent class and add attribute to the inherited annotation
body: <p>I have a derived class MyBusinessBody which extends a parent class BusinessBody.</p>
  <p>One field in BusinessBody looks like:</p>
  <pre><code>public class BusinessBody{
    @OneToOne(fetch = FetchType.LAZY)
    private Trade trade;
    //setter and getter
    ... 
  }
  </code></pre>
  <p>Now, I want to add another attribute, &quot;<strong>cascade = CascadeType.ALL</strong>&quot; to the annotation @OneToOne, but I don't want to do it inside BusinessBody, rather, I'd like it amended in the derived class MyBusinessBody.java, something like:</p>
  <pre><code>public class MyBusinessBody{
    @OneToOne(fetch = FetchType.LAZY,cascade = CascadeType.ALL)
    protected Trade trade; //NOTE: I changed the modifier from &quot;private&quot; to &quot;protected&quot;, otherwise the IDE shows warning that this field is not used.
    //setter and getter
    ... 
  }
  </code></pre>
  <p>Will this work?</p>