title: How to Annotate Index on a MappedSuperclass
body: <p>I have a mapped superclass with two already indexed properties. now i want to create a group index over both properties. until now it worked with:</p>
  
  <pre><code>@MappedSuperclass
  Class A {
      @Index(name="pa")
      int a;
      @Index(name="pb")
      int b;
  }
  </code></pre>
  
  <p>According to the hibernate documentation i could annotate my new index with @Table (hibernate annotation). but i dont know what to set for the required appliesTo parameter.</p>
  
  <p>has anybody tried this successfully before?</p>