title: How do I specify the order of columns within a multi-column index in Hibernate?
body: <p>I'm creating a multi-column index as follows:</p>
  
  <pre><code>@Entity
  public class Ranking extends Model {
      @ManyToOne
      @Index(name = "ranking_ix")
      public Rankable rankable;
  
      @ManyToOne
      @Index(name = "ranking_ix")
      public Criteria criteria;
  
      @Index(name = "ranking_ix")
      public double rank;
  }
  </code></pre>
  
  <p>However I can't see how to control the order with which the three columns appear within the composite index (which can be required to ensure optimal query performance).  How can this be achieved?</p>