title: Hibernate: many-to-many mapping with an order-column
body: <p>I want to use a many-to-many relation between System &amp; Device. I want the system to know its devices order.
  I've seen <a href="https://stackoverflow.com/a/26058223/1028741">here</a> that I can do it using @OrderColumn.</p>
  
  <p>How can I do it using hibernate xml configuration instead of annotation?</p>