title: Extending hibernate entities with annotation
body: <p>i need to extend an entity, with the same characteristics without using abstract classes.</p>
  
  <p>can i code something like below?</p>
  
  <pre><code>@Entity
  @Table(name="ABC")
  @SequenceGenerator(sequenceName="SEQ_ABC",name="idGenerator",allocationSize=1)
  public class Abc {
  .. // define members
  }
  
  @Entity
  @Table(name="EX_ABC")
  public class ExAbc extends Abs {
  .. // define extras..
  }
  </code></pre>
  
  <p>thx in advance</p>